Diff
diff --git a/cstyle/plugins/block/main.go b/cstyle/plugins/block/main.go
index e3a32c4..fdb7289 100644
--- a/cstyle/plugins/block/main.go
+++ b/cstyle/plugins/block/main.go
@@ -19 +19 @@ func Init() cstyle.Plugin {
- n.Properties.Computed["width"], _ = utils.ConvertToPixels("100%", n.Properties.EM, n.Parent.Properties.Computed["width"])
+ n.Properties.Width, _ = utils.ConvertToPixels("100%", n.Properties.EM, n.Parent.Properties.Width)
@@ -21 +21 @@ func Init() cstyle.Plugin {
- n.Properties.Computed["width"] -= m.Right + m.Left
+ n.Properties.Width -= m.Right + m.Left
@@ -24 +24 @@ func Init() cstyle.Plugin {
- n.Properties.Computed["width"] += p.Right + p.Left
+ n.Properties.Width += p.Right + p.Left