fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2012-02-14 07:28 pm

[dw-free] CSS Structure: add .inner to .header in entries and comments

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

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

Add .inner divs to .header divs for consistency.

Patch by [personal profile] laitaine.

Files modified:
  • bin/upgrading/s2layers/core2.s2
  • bin/upgrading/s2layers/refriedtablet/layout.s2
--------------------------------------------------------------------------------
diff -r dc71eb43ca95 -r 591839082b56 bin/upgrading/s2layers/core2.s2
--- a/bin/upgrading/s2layers/core2.s2	Wed Feb 15 01:44:47 2012 +0800
+++ b/bin/upgrading/s2layers/core2.s2	Wed Feb 15 03:23:36 2012 +0800
@@ -4712,10 +4712,12 @@
     ## For most styles, this will be overridden by FriendsPage::print_entry and such.
     $e->print_wrapper_start();
     """<div class="header">\n""";
+    """<div class="inner">\n""";
     $e->print_subject();
     $e->print_metatypes();
     $e->print_time();
     """</div>\n""";
+    """</div>\n""";
     """<div>\n""";
     """<div class="contents">\n""";
     """<div class="inner">\n""";
@@ -5841,10 +5843,12 @@
 
     $c->print_wrapper_start();
     """<div class="header">\n""";
+    """<div class="inner">\n""";
     $c->print_subject();
     $c->print_metatypes();
     $c->print_time();
     """</div>\n""";
+    """</div>\n""";
     """<div class="contents">\n""";
     """<div class="inner">\n""";
     $c->print_userpic();
@@ -5869,10 +5873,12 @@
 
     $c->print_wrapper_start();
     """<div class="header">\n""";
+    """<div class="inner">\n""";
     $c->print_subject();
     $c->print_metatypes();
     $c->print_time();
     """</div>\n""";
+    """</div>\n""";
     """<div class="contents">\n""";
     """<div class="inner">\n""";
     $c->print_userpic();
diff -r dc71eb43ca95 -r 591839082b56 bin/upgrading/s2layers/refriedtablet/layout.s2
--- a/bin/upgrading/s2layers/refriedtablet/layout.s2	Wed Feb 15 01:44:47 2012 +0800
+++ b/bin/upgrading/s2layers/refriedtablet/layout.s2	Wed Feb 15 03:23:36 2012 +0800
@@ -429,6 +429,10 @@
     margin-bottom: 1em;
 }
 
+.entry .header .inner {
+    margin-bottom: 0;
+}
+
 ul.entry-interaction-links {
     text-align: left;
 }
--------------------------------------------------------------------------------

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