Avoid implying in the example that shadows include border radius styles

This commit is contained in:
Tessa Kelly 2022-03-17 15:18:10 -07:00
parent 830aae5b58
commit 4e4f3165fe

View File

@ -79,15 +79,14 @@ viewShadow : ( String, Css.Style ) -> Html msg
viewShadow ( usageGuidance, shadow ) =
Html.div
[ Attributes.css
[ Css.padding2 (Css.px 10) Css.zero
, Css.margin2 (Css.px 20) (Css.px 4)
, Css.borderRadius (Css.px 8)
, Css.height (Css.px 16)
, shadow
[ Css.margin2 (Css.px 20) (Css.px 4)
]
]
[ Text.smallBodyGray
[ Text.css [ Css.textAlign Css.center ]
[ Text.css
[ Css.textAlign Css.center
, shadow
]
, Text.plaintext usageGuidance
]
]