Fix misalignment when label is hidden

This commit is contained in:
Tessa Kelly 2021-11-22 13:18:09 -08:00
parent 1860ad3070
commit 57bb480907

View File

@ -394,8 +394,7 @@ view label attributes =
[ Html.span [ Html.span
[ css <| [ css <|
if config.hideLabel then if config.hideLabel then
[ Css.height <| px 1 [ 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