mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-20 12:11:32 +03:00
Reduce function wrapping in styles
This commit is contained in:
parent
57bb480907
commit
56fbcf9275
@ -394,13 +394,13 @@ view label attributes =
|
|||||||
[ Html.span
|
[ Html.span
|
||||||
[ css <|
|
[ css <|
|
||||||
if config.hideLabel then
|
if config.hideLabel then
|
||||||
[ Css.width <| px 1
|
[ Css.width (px 1)
|
||||||
, overflow Css.hidden
|
, overflow Css.hidden
|
||||||
, margin <| px -1
|
, margin (px -1)
|
||||||
, padding <| px 0
|
, padding (px 0)
|
||||||
, border <| px 0
|
, border (px 0)
|
||||||
, display inlineBlock
|
, display inlineBlock
|
||||||
, textIndent <| px 1
|
, textIndent (px 1)
|
||||||
]
|
]
|
||||||
|
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user