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:48 am

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

[commit: http://hg.dwscoalition.org/dw-nonfree/rev/1c372b356d7a]

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/sundaymorning/layout.s2
  • bin/upgrading/s2layers/transmogrified/layout.s2
--------------------------------------------------------------------------------
diff -r e838fb791660 -r 1c372b356d7a bin/upgrading/s2layers/sundaymorning/layout.s2
--- a/bin/upgrading/s2layers/sundaymorning/layout.s2	Tue Jun 29 17:47:43 2010 +0800
+++ b/bin/upgrading/s2layers/sundaymorning/layout.s2	Mon Jul 05 13:54:25 2010 +0800
@@ -574,8 +574,8 @@ q { font-style: italic;
 .comment-title h4 {
     font-size: inherit;
     font-weight: inherit;
-    margin: inherit;
-    padding: inherit;
+    margin: 0;
+    padding: 0;
 }
 .entry-title, .comment-title {
     padding: 0.2em;
diff -r e838fb791660 -r 1c372b356d7a bin/upgrading/s2layers/transmogrified/layout.s2
--- a/bin/upgrading/s2layers/transmogrified/layout.s2	Tue Jun 29 17:47:43 2010 +0800
+++ b/bin/upgrading/s2layers/transmogrified/layout.s2	Mon Jul 05 13:54:25 2010 +0800
@@ -624,8 +624,8 @@ function Page::print_default_stylesheet 
     .comment-title h4 {
         font-size: inherit;
         font-weight: inherit;
-        margin: inherit;
-        padding: inherit;
+        margin: 0;
+        padding: 0;
     }
     .entry-title, .comment-title {
         padding: 0.2em;
--------------------------------------------------------------------------------

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