fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-06-13 06:13 am

[dw-free] Fix sidebar width in some styles

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

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

Same sidebar width in three columns left and right in Practicality

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/practicality/layout.s2
--------------------------------------------------------------------------------
diff -r 57415648a335 -r e8474ba4ff12 bin/upgrading/s2layers/practicality/layout.s2
--- a/bin/upgrading/s2layers/practicality/layout.s2	Mon Jun 13 13:57:23 2011 +0800
+++ b/bin/upgrading/s2layers/practicality/layout.s2	Mon Jun 13 14:11:02 2011 +0800
@@ -239,20 +239,19 @@
     padding-right: 1em;
     }
 
-#secondary > .inner:first-child {
-    padding: 0;
-    }
-
+#secondary > .inner:first-child,
 #tertiary > .inner:first-child {
     padding: 0;
     }
 
-.three-columns-left #tertiary > .inner:first-child {
-    padding-left: 1em;
+.three-columns-left #secondary > .inner:first-child,
+.three-columns-right #secondary > .inner:first-child {
+    padding-right: .5em;
     }
 
+.three-columns-left #tertiary > .inner:first-child,
 .three-columns-right #tertiary > .inner:first-child {
-    padding-left: 1em;
+    padding-left: .5em;
     }
 
 /*--- Journal Header ---*/
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
No Subject Icon Selected
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org