JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
stylus: space_evenly: don't require units on arg
[wfpl.git] / stylus_helpers.styl
index e6df86e..39f68d1 100644 (file)
@@ -82,7 +82,8 @@ linear_scale_calc(pb, ps, cb, cs)
 // To create a minimum distance between: don't use word-spacing, it's broken in
 // firefox. Instead, try padding on the children and negative margin on the
 // parent.
-space_evenly(line_height = 1.2em)
+space_evenly(line_height = 1.2)
+       line_height = unit(line_height, em)
        text-align: justify
        & > *
                display: inline-block