Fix userpic alignment in Sunday Morning.

        Patch by afuna. 

diffs (13 lines):

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") {
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to