diff options
author | William Carroll <wpcarro@gmail.com> | 2020-08-02T09·33+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-08-02T09·33+0100 |
commit | ac9629cad027b2797c016a2a5367d4ad4c04962c (patch) | |
tree | db276de987d5d06b0f4ce762baf8af487d4bb1dc /client/src | |
parent | 249e3113ffbcda047bd9461f01aaa64aa2dd94f1 (diff) |
Assign fixed width to error banners
This makes the banners easier to center horizontally.
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/UI.elm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/UI.elm b/client/src/UI.elm index 1de137fcaf4f..f96dcd8b5cc3 100644 --- a/client/src/UI.elm +++ b/client/src/UI.elm @@ -40,7 +40,8 @@ errorBanner { title, body } = -- TODO(wpcarro): Consider supporting breakpoints, but for now -- don't. - , style "margin-left" "-512px" + , style "width" "800px" + , style "margin-left" "-400px" ] [ div [ [ "bg-red-500" |