Assign fixed width to error banners
This makes the banners easier to center horizontally.
This commit is contained in:
parent
249e3113ff
commit
ac9629cad0
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@ errorBanner { title, body } =
|
||||||
|
|
||||||
-- TODO(wpcarro): Consider supporting breakpoints, but for now
|
-- TODO(wpcarro): Consider supporting breakpoints, but for now
|
||||||
-- don't.
|
-- don't.
|
||||||
, style "margin-left" "-512px"
|
, style "width" "800px"
|
||||||
|
, style "margin-left" "-400px"
|
||||||
]
|
]
|
||||||
[ div
|
[ div
|
||||||
[ [ "bg-red-500"
|
[ [ "bg-red-500"
|
||||||
|
|
Loading…
Reference in a new issue