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

[dw-nonfree] Styles: add option to customize side margins in all styles

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

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

Use the new core margins_* properties, rather than defining its own.

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/transmogrified/layout.s2
--------------------------------------------------------------------------------
diff -r 535f4f3731b4 -r 6e297ac8a09e bin/upgrading/s2layers/transmogrified/layout.s2
--- a/bin/upgrading/s2layers/transmogrified/layout.s2	Fri Apr 01 17:27:52 2011 +0800
+++ b/bin/upgrading/s2layers/transmogrified/layout.s2	Fri Apr 08 19:17:32 2011 +0800
@@ -13,17 +13,8 @@ propgroup presentation {
     property use use_journalstyle_entry_page;
     property use layout_type;
     property use sidebar_width;
-
-    property string margins_size {
-        des = "Size of left and right margins";
-        size = 5;
-    }
-
-    property string margins_unit {
-        des = "Unit for margins size";
-        values = "em|em|%|%|px|px";
-    }
-
+    property use margins_size;
+    property use margins_unit;
     property use tags_page_type;
     property use userpics_position;
     property use entry_metadata_position;
--------------------------------------------------------------------------------