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

[dw-nonfree] Transmogrified shifts aside the entry title bar even when there is no userpic

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

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

Fix CSS for title bar display in Transmogrified and Sunday Morning.

Patch by [personal profile] afuna.

Files modified:
  • bin/upgrading/s2layers/sundaymorning/layout.s2
  • bin/upgrading/s2layers/transmogrified/layout.s2
--------------------------------------------------------------------------------
diff -r 17fbe72bf361 -r a992c2697b68 bin/upgrading/s2layers/sundaymorning/layout.s2
--- a/bin/upgrading/s2layers/sundaymorning/layout.s2	Sun Sep 13 15:00:23 2009 +0000
+++ b/bin/upgrading/s2layers/sundaymorning/layout.s2	Tue Sep 15 21:13:37 2009 -0500
@@ -269,15 +269,17 @@ function Page::print_default_stylesheet(
 
     var string userpic_css = "";
     if($*userpics_position == "left") {
-         $userpic_css = """.entry-title, .comment-title {margin: 0; } 
-         .has-userpic .header {margin: 0 0 0 120px; } 
-         .entry .userpic a, .comment .userpic a {left: 10px; right: auto; }""";
+         $userpic_css = """
+      .entry-title, .comment-title {margin: 0; } 
+      .has-userpic .header {margin: 0 0 0 120px; } 
+      .entry .userpic a, .comment .userpic a {left: 10px; right: auto; }""";
         }
     elseif($*userpics_position == "right") {
-         $userpic_css = """.has-userpic .entry-title, .has-userpic .comment-title {margin: 0; margin-right: 120px; }
-         .entry .userpic a, .comment .userpic a {right: 10px; left: auto; }""";
+         $userpic_css = """
+      .entry-title, .comment-title {margin: 0; } 
+      .has-userpic .entry-title, .has-userpic .comment-title { margin-right: 120px; }
+      .entry .userpic a, .comment .userpic a {right: 10px; left: auto; }""";
         }
-
 """
 
 <style type="text/css">
diff -r 17fbe72bf361 -r a992c2697b68 bin/upgrading/s2layers/transmogrified/layout.s2
--- a/bin/upgrading/s2layers/transmogrified/layout.s2	Sun Sep 13 15:00:23 2009 +0000
+++ b/bin/upgrading/s2layers/transmogrified/layout.s2	Tue Sep 15 21:13:37 2009 -0500
@@ -346,13 +346,16 @@ function Page::print_default_stylesheet 
 
     var string userpic_css = "";
     if($*userpics_position == "left") {
-         $userpic_css = """.entry-title, .comment-title {margin: 0; } 
-         .has-userpic .header {margin: 0 0 0 120px; } 
-         .entry .userpic a, .comment .userpic a {left: 10px; right: auto; }""";
+         $userpic_css = """
+      .entry-title, .comment-title {margin: 0; } 
+      .has-userpic .header {margin: 0 0 0 120px; } 
+      .entry .userpic a, .comment .userpic a {left: 10px; right: auto; }""";
         }
     elseif($*userpics_position == "right") {
-         $userpic_css = """.entry-title, .comment-title {margin: 0; margin-right: 120px; }
-         .entry .userpic a, .comment .userpic a {right: 10px; left: auto; }""";
+         $userpic_css = """
+      .entry-title, .comment-title {margin: 0; } 
+      .has-userpic .entry-title, .has-userpic .comment-title { margin-right: 120px; }
+      .entry .userpic a, .comment .userpic a {right: 10px; left: auto; }""";
         }
 
 
--------------------------------------------------------------------------------