mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-19 19:51:37 +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
|
||||
[ css <|
|
||||
if config.hideLabel then
|
||||
[ Css.width <| px 1
|
||||
[ Css.width (px 1)
|
||||
, overflow Css.hidden
|
||||
, margin <| px -1
|
||||
, padding <| px 0
|
||||
, border <| px 0
|
||||
, margin (px -1)
|
||||
, padding (px 0)
|
||||
, border (px 0)
|
||||
, display inlineBlock
|
||||
, textIndent <| px 1
|
||||
, textIndent (px 1)
|
||||
]
|
||||
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user