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 11:03 am

[dw-free] Compartmentalize: numbered list lacks proper indentation on sublevels

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

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

Move the styling to the ol, rather than the list item within the ol.

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/compartmentalize/layout.s2
--------------------------------------------------------------------------------
diff -r e142202fda0d -r 3ef06a227ab1 bin/upgrading/s2layers/compartmentalize/layout.s2
--- a/bin/upgrading/s2layers/compartmentalize/layout.s2	Mon Jun 13 18:39:08 2011 +0800
+++ b/bin/upgrading/s2layers/compartmentalize/layout.s2	Mon Jun 13 18:50:24 2011 +0800
@@ -160,13 +160,13 @@
     }
 
 ul {
-    list-style: square;
+    list-style-type: square;
     list-style-position: inside;
     margin: .5em 1em;
     }
 
-ol li {
-    list-style: decimal;
+ol {
+    list-style-type: decimal;
     list-style-position: inside;
     margin: .5em 1.5em;
     }
--------------------------------------------------------------------------------