Adjust guidance/error styles

This commit is contained in:
Tessa Kelly 2021-11-11 14:17:43 -08:00
parent 5b01699c6b
commit b17bb9d919

View File

@ -126,23 +126,23 @@ view idValue config =
, Message.error
, Message.plaintext m
, Message.alertRole
, Message.css spacing
, Message.css
[ Css.important (Css.paddingTop Css.zero)
, Css.important (Css.paddingBottom Css.zero)
, Css.marginTop (Css.px 5)
]
]
( _, Just guidanceMessage ) ->
Text.caption
[ Text.id (idValue ++ "_guidance")
, Text.plaintext guidanceMessage
, Text.css spacing
, Text.css
[ Css.important (Css.paddingTop Css.zero)
, Css.important (Css.paddingBottom Css.zero)
, Css.important (Css.marginTop (Css.px 8))
]
]
_ ->
Html.text ""
spacing : List Style
spacing =
[ Css.important (Css.paddingTop Css.zero)
, Css.important (Css.paddingBottom Css.zero)
, Css.marginTop (Css.px 5)
]