From: Jason Woofenden Date: Sun, 21 Feb 2016 01:06:04 +0000 (-0500) Subject: stylus: space_evenly: don't require units on arg X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=f0092052f5357e8e7430a2180a56f1536b613da5;hp=ae37366f1b03740b795fb5ed68447bb60840f540;p=wfpl.git stylus: space_evenly: don't require units on arg --- diff --git a/stylus_helpers.styl b/stylus_helpers.styl index e6df86e..39f68d1 100644 --- a/stylus_helpers.styl +++ b/stylus_helpers.styl @@ -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