From 471127488cb10db922f76f59d5a94761cdd48c18 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Thu, 16 Mar 2017 03:50:49 +0000 Subject: [PATCH 1/3] Temporarily disable thumbnail optimization --- workers/thumbnail_worker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workers/thumbnail_worker.rb b/workers/thumbnail_worker.rb index 385fdb4e..a4b4849c 100644 --- a/workers/thumbnail_worker.rb +++ b/workers/thumbnail_worker.rb @@ -31,7 +31,7 @@ class ThumbnailWorker resimg.write(full_thumbnail_path) { self.quality = 75 } - $image_optim.optimize_image! full_thumbnail_path + #$image_optim.optimize_image! full_thumbnail_path end end end From 709509fd15162cc6f3795a4c71cc1b2b7620b1d2 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Sat, 18 Mar 2017 11:53:50 -0700 Subject: [PATCH 2/3] Clean up CSS for comment contents, add word-break --- sass/_project-sass/_project-Main.scss | 6 +++++- views/_news_profile_comment.erb | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sass/_project-sass/_project-Main.scss b/sass/_project-sass/_project-Main.scss index ec078bbc..a64532eb 100644 --- a/sass/_project-sass/_project-Main.scss +++ b/sass/_project-sass/_project-Main.scss @@ -961,7 +961,6 @@ a.tag:hover { background: #3399CC; } .news-item .title { - margin-bottom: .4em; position: relative; width: 100%; float: left; @@ -1054,6 +1053,11 @@ a.tag:hover { .news-item .actions, .news-item.comment .content { margin-left: 61px; } +.news-item.comment .content { + word-wrap: break-word; + overflow-wrap: break-word; + margin-bottom: 10px; +} .news-item.comment .comments .actions { margin-left: 47px; } diff --git a/views/_news_profile_comment.erb b/views/_news_profile_comment.erb index cc556d92..8a8cad98 100644 --- a/views/_news_profile_comment.erb +++ b/views/_news_profile_comment.erb @@ -22,5 +22,5 @@
-
<%== sanitize_comment profile_comment.message %>
+ <%== sanitize_comment profile_comment.message %>
From 73f2ba1b3db735b4e5a7bbfd4f7911a356ea35d8 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Sat, 18 Mar 2017 18:13:48 -0700 Subject: [PATCH 3/3] A few copy fixes for the compare page --- views/supporter/_compare.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/supporter/_compare.erb b/views/supporter/_compare.erb index a0f13c17..aef7a1cd 100644 --- a/views/supporter/_compare.erb +++ b/views/supporter/_compare.erb @@ -25,14 +25,14 @@ - No advertising, ever + No advertising, ever - Global CDN Site Cache + Global Anycast CDN