message x styles

This commit is contained in:
Ben Dansby 2021-10-05 12:41:09 -07:00
parent 225c3cf7e9
commit a1b7e48111

View File

@ -162,7 +162,10 @@ view attributes_ =
borderRadius (px 8)
, padding (px 20)
, backgroundColor_
, position relative
, Css.Media.withMedia
[ Css.Media.all [ Css.Media.maxWidth (px 1000) ] ]
[ padding (px 15)
]
]
)
]
@ -209,7 +212,10 @@ view attributes_ =
(baseStyles
++ [ backgroundColor_
, padding (px 20)
, position relative
, Css.Media.withMedia
[ Css.Media.all [ Css.Media.maxWidth (px 1000) ] ]
[ padding (px 15)
]
]
)
]
@ -833,12 +839,11 @@ largeDismissButton : msg -> Html msg
largeDismissButton msg =
Nri.Ui.styled div
"dismiss-button-container"
[ padding (px 20)
[ padding2 zero (px 20)
, displayFlex
, Css.Media.withMedia
[ Css.Media.all [ Css.Media.maxWidth (px 1000) ] ]
[ position absolute
, right zero
, padding (px 10)
[ padding4 (px 10) zero (px 10) (px 15)
]
]
[]
@ -855,12 +860,11 @@ bannerDismissButton : msg -> Html msg
bannerDismissButton msg =
Nri.Ui.styled div
"dismiss-button-container"
[ padding (px 20)
[ padding2 zero (px 20)
, displayFlex
, Css.Media.withMedia
[ Css.Media.all [ Css.Media.maxWidth (px 1000) ] ]
[ position absolute
, right zero
, padding (px 10)
[ padding4 (px 10) zero (px 10) (px 15)
]
]
[]