From f0092052f5357e8e7430a2180a56f1536b613da5 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Sat, 20 Feb 2016 20:06:04 -0500 Subject: [PATCH] stylus: space_evenly: don't require units on arg --- stylus_helpers.styl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 1.7.10.4