fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-07-05 05:46 am

[dw-free] Margins/padding placed on .comment-title are duplicated

[commit: http://hg.dwscoalition.org/dw-free/rev/d835a2e7a4d9]

http://bugs.dwscoalition.org/show_bug.cgi?id=2755

Zero out the paddings/margins, but continue to inherit the font size and
styling.

Patch by [personal profile] fu.

Files modified:
  • bin/upgrading/s2layers/bases/layout.s2
  • bin/upgrading/s2layers/blanket/layout.s2
  • bin/upgrading/s2layers/brittle/layout.s2
  • bin/upgrading/s2layers/core2base/layout.s2
  • bin/upgrading/s2layers/drifting/layout.s2
  • bin/upgrading/s2layers/easyread/layout.s2
  • bin/upgrading/s2layers/negatives/layout.s2
  • bin/upgrading/s2layers/skittlishdreams/layout.s2
  • bin/upgrading/s2layers/zesty/layout.s2
--------------------------------------------------------------------------------
diff -r 5f49d40530fd -r d835a2e7a4d9 bin/upgrading/s2layers/bases/layout.s2
--- a/bin/upgrading/s2layers/bases/layout.s2	Fri Jul 02 15:38:52 2010 +0800
+++ b/bin/upgrading/s2layers/bases/layout.s2	Mon Jul 05 13:52:07 2010 +0800
@@ -623,8 +623,8 @@ li.first-item {margin-left: 0;}
 .comment-title h4 {
     font-size: inherit;
     font-weight: inherit;
-    margin: inherit;
-    padding: inherit;
+    margin: 0;
+    padding: 0;
 }
 
 .comment .datetime { border-top: 0.083em solid $*color_entry_border;}
diff -r 5f49d40530fd -r d835a2e7a4d9 bin/upgrading/s2layers/blanket/layout.s2
--- a/bin/upgrading/s2layers/blanket/layout.s2	Fri Jul 02 15:38:52 2010 +0800
+++ b/bin/upgrading/s2layers/blanket/layout.s2	Mon Jul 05 13:52:07 2010 +0800
@@ -373,8 +373,8 @@ ul.entry-interaction-links li { display:
 .comment-title h4 {
     font-size: inherit;
     font-weight: inherit;
-    margin: inherit;
-    padding: inherit;
+    margin: 0;
+    padding: 0;
 }
 
 hr.above-entry-interaction-links, hr.below-reply-container { display: none; }
diff -r 5f49d40530fd -r d835a2e7a4d9 bin/upgrading/s2layers/brittle/layout.s2
--- a/bin/upgrading/s2layers/brittle/layout.s2	Fri Jul 02 15:38:52 2010 +0800
+++ b/bin/upgrading/s2layers/brittle/layout.s2	Mon Jul 05 13:52:07 2010 +0800
@@ -642,8 +642,8 @@ td.day {
 .comment-title h4 {
     font-size: inherit;
     font-weight: inherit;
-    margin: inherit;
-    padding: inherit;
+    margin: 0;
+    padding: 0;
 }
 
 #comments { $entry_font }
diff -r 5f49d40530fd -r d835a2e7a4d9 bin/upgrading/s2layers/core2base/layout.s2
--- a/bin/upgrading/s2layers/core2base/layout.s2	Fri Jul 02 15:38:52 2010 +0800
+++ b/bin/upgrading/s2layers/core2base/layout.s2	Mon Jul 05 13:52:07 2010 +0800
@@ -564,8 +564,8 @@ ul.entry-interaction-links li {
 .comment-title h4 {
     font-size: inherit;
     font-weight: inherit;
-    margin: inherit;
-    padding: inherit;
+    margin: 0;
+    padding: 0;
 }
 
 ul.comment-management-links {
diff -r 5f49d40530fd -r d835a2e7a4d9 bin/upgrading/s2layers/drifting/layout.s2
--- a/bin/upgrading/s2layers/drifting/layout.s2	Fri Jul 02 15:38:52 2010 +0800
+++ b/bin/upgrading/s2layers/drifting/layout.s2	Mon Jul 05 13:52:07 2010 +0800
@@ -732,8 +732,8 @@ function Page::print_default_stylesheet(
     .comment-title h4 {
         font-size: inherit;
         font-weight: inherit;
-        margin: inherit;
-        padding: inherit;
+        margin: 0;
+        padding: 0;
     }
 
     .comment .subject {
diff -r 5f49d40530fd -r d835a2e7a4d9 bin/upgrading/s2layers/easyread/layout.s2
--- a/bin/upgrading/s2layers/easyread/layout.s2	Fri Jul 02 15:38:52 2010 +0800
+++ b/bin/upgrading/s2layers/easyread/layout.s2	Mon Jul 05 13:52:07 2010 +0800
@@ -484,8 +484,8 @@ h2.module-header a {
 .comment-title h4 {
     font-size: inherit;
     font-weight: inherit;
-    margin: inherit;
-    padding: inherit;
+    margin: 0;
+    padding: 0;
 }
 
 /* Entry header */
diff -r 5f49d40530fd -r d835a2e7a4d9 bin/upgrading/s2layers/negatives/layout.s2
--- a/bin/upgrading/s2layers/negatives/layout.s2	Fri Jul 02 15:38:52 2010 +0800
+++ b/bin/upgrading/s2layers/negatives/layout.s2	Mon Jul 05 13:52:07 2010 +0800
@@ -463,8 +463,8 @@ function Page::print_default_stylesheet(
     .comment-title h4 {
         font-size: inherit;
         font-weight: inherit;
-        margin: inherit;
-        padding: inherit;
+        margin: 0;
+        padding: 0;
     }
     .partial .comment-title {
         display: inline;
diff -r 5f49d40530fd -r d835a2e7a4d9 bin/upgrading/s2layers/skittlishdreams/layout.s2
--- a/bin/upgrading/s2layers/skittlishdreams/layout.s2	Fri Jul 02 15:38:52 2010 +0800
+++ b/bin/upgrading/s2layers/skittlishdreams/layout.s2	Mon Jul 05 13:52:07 2010 +0800
@@ -566,8 +566,8 @@ h1, h2, h3, h4 {font-weight: 700; font-v
 .comment-title h4 {
     font-size: inherit;
     font-weight: inherit;
-    margin: inherit;
-    padding: inherit;
+    margin: 0;
+    padding: 0;
 }
 
 .entry-title, .comment-title {margin:0 120px .5em 0; padding: 0.2em;border: solid 1px $*color_entry_title_border; $entry_title_colors }
diff -r 5f49d40530fd -r d835a2e7a4d9 bin/upgrading/s2layers/zesty/layout.s2
--- a/bin/upgrading/s2layers/zesty/layout.s2	Fri Jul 02 15:38:52 2010 +0800
+++ b/bin/upgrading/s2layers/zesty/layout.s2	Mon Jul 05 13:52:07 2010 +0800
@@ -728,8 +728,8 @@ h3 {
 .comment-title h4 {
     font-size: inherit;
     font-weight: inherit;
-    margin: inherit;
-    padding: inherit;
+    margin: 0;
+    padding: 0;
 }
 
 .tools {
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org