Adjust the style a bit

This commit is contained in:
Tessa Kelly 2020-11-06 14:48:49 -08:00
parent 931662eaf3
commit 1720df51c4

View File

@ -299,14 +299,20 @@ viewIcon styles icon =
[ position absolute
, left zero
, top (calc (pct 50) minus (px 18))
, height (px 27)
, border3 (px 2) solid transparent
, padding (px 2)
, borderRadius (px 3)
, height (Css.px 27)
]
, Attributes.class "checkbox-icon-container"
]
[ Html.div [ css [ backgroundColor Colors.white ] ]
[ Html.div
[ css
[ display inlineBlock
, backgroundColor Colors.white
, height (Css.px 27)
]
]
[ Nri.Ui.Svg.V1.toHtml (Nri.Ui.Svg.V1.withCss styles icon)
]
]