kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2009-09-16 02:20 am

[dw-nonfree] Userpic can overlap entry poster name in Sunday Morning

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

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

Fix userpic alignment in Sunday Morning.

Patch by [personal profile] afuna.

Files modified:
  • bin/upgrading/s2layers/sundaymorning/layout.s2
--------------------------------------------------------------------------------
diff -r a992c2697b68 -r f6129e04b752 bin/upgrading/s2layers/sundaymorning/layout.s2
--- a/bin/upgrading/s2layers/sundaymorning/layout.s2	Tue Sep 15 21:13:37 2009 -0500
+++ b/bin/upgrading/s2layers/sundaymorning/layout.s2	Tue Sep 15 21:20:23 2009 -0500
@@ -271,7 +271,8 @@ function Page::print_default_stylesheet(
     if($*userpics_position == "left") {
          $userpic_css = """
       .entry-title, .comment-title {margin: 0; } 
-      .has-userpic .header {margin: 0 0 0 120px; } 
+       /* make sure userpic can't overlap the poster's username */
+      .has-userpic .header { margin: 0 0 0 120px; min-height: 55px; } 
       .entry .userpic a, .comment .userpic a {left: 10px; right: auto; }""";
         }
     elseif($*userpics_position == "right") {
--------------------------------------------------------------------------------