fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-10-27 09:20 am

[dw-free] EasyRead: add custom colors for Reading page option

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

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

Fix the entry title overlapping outside the entry when userpic icon is on
the left.

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/easyread/layout.s2
--------------------------------------------------------------------------------
diff -r 694bbb60ad6a -r dbf331f4a571 bin/upgrading/s2layers/easyread/layout.s2
--- a/bin/upgrading/s2layers/easyread/layout.s2	Wed Oct 27 17:14:00 2010 +0800
+++ b/bin/upgrading/s2layers/easyread/layout.s2	Wed Oct 27 17:20:12 2010 +0800
@@ -327,10 +327,10 @@ var string entrytitle_padding = $*use_cu
     if ($*userpics_position == "left") {
         $userpic_css = """
         #primary .header {
-            left: 110px;
+            margin-left: 110px;
             }
         .has-userpic .entry .poster {
-            left: 110px;
+            margin-left: 110px;
             }
         #comments .userpic a img, .comment-wrapper .userpic a img  {
             float: left;
@@ -540,9 +540,6 @@ h2.module-header a {
 }
 
 /* Entry header */
-#primary .header {
-    position: relative;
-}
 
 .has-userpic .entry .header {
     margin-bottom: 1em;
--------------------------------------------------------------------------------