mirror of https://github.com/penpot/penpot.git
🐛 Fix line-height throwing for int (#7927)
This commit is contained in:
parent
bfbb546699
commit
0dd062d011
|
|
@ -236,7 +236,7 @@
|
|||
Uses `font-size-value` to calculate the relative line-height value.
|
||||
Returns an error for an invalid font-size value."
|
||||
[line-height-value font-size-value font-size-errors]
|
||||
(let [missing-references (seq (some cto/find-token-value-references line-height-value))
|
||||
(let [missing-references (seq (cto/find-token-value-references line-height-value))
|
||||
error
|
||||
(cond
|
||||
missing-references
|
||||
|
|
|
|||
Loading…
Reference in New Issue