Reduce function wrapping in styles

This commit is contained in:
Tessa Kelly 2021-11-22 13:18:27 -08:00
parent 57bb480907
commit 56fbcf9275

View File

@ -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