mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-25 06:33:09 +03:00
message x styles
This commit is contained in:
parent
225c3cf7e9
commit
a1b7e48111
@ -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)
|
||||
]
|
||||
]
|
||||
[]
|
||||
|
Loading…
Reference in New Issue
Block a user