Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ae37366
)
stylus: space_evenly: don't require units on arg
author
Jason Woofenden
<jason@jasonwoof.com>
Sun, 21 Feb 2016 01:06:04 +0000
(20:06 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Sun, 21 Feb 2016 01:06:04 +0000
(20:06 -0500)
stylus_helpers.styl
patch
|
blob
|
history
diff --git
a/stylus_helpers.styl
b/stylus_helpers.styl
index
e6df86e
..
39f68d1
100644
(file)
--- 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