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:22 am

[dw-free] Fix sidebar width in some styles

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

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

Same sidebar width in three columns left and right in Compartmentalize.

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/compartmentalize/layout.s2
--------------------------------------------------------------------------------
diff -r e8474ba4ff12 -r 79ccf28ca261 bin/upgrading/s2layers/compartmentalize/layout.s2
--- a/bin/upgrading/s2layers/compartmentalize/layout.s2	Mon Jun 13 14:11:02 2011 +0800
+++ b/bin/upgrading/s2layers/compartmentalize/layout.s2	Mon Jun 13 14:15:50 2011 +0800
@@ -127,20 +127,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;
     }
 
 a {
--------------------------------------------------------------------------------