about summary refs log tree commit diff
path: root/client/src
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-02T09·33+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-02T09·33+0100
commitac9629cad027b2797c016a2a5367d4ad4c04962c (patch)
treedb276de987d5d06b0f4ce762baf8af487d4bb1dc /client/src
parent249e3113ffbcda047bd9461f01aaa64aa2dd94f1 (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.elm3
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"