about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-10-09 20:51:36 +0200
committerGitHub <noreply@github.com>2017-10-09 20:51:36 +0200
commit1c6fc0e4ceb40f29dfe987eaae040429ae1d0822 (patch)
treeaf456f5b6d7e086becbfca05faa1f60cb8b71dc4 /app/javascript/styles
parent92e7815d1dce96ac5e01b10bcfa110aa96487c35 (diff)
Center error layout (#5289)
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/basics.scss8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/javascript/styles/basics.scss b/app/javascript/styles/basics.scss
index 500e506f6..b829191ad 100644
--- a/app/javascript/styles/basics.scss
+++ b/app/javascript/styles/basics.scss
@@ -29,7 +29,8 @@ body {
     font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", mastodon-font-sans-serif, sans-serif;
   }
 
-  &.app-body {
+  &.app-body,
+  &.error {
     position: fixed;
     width: 100%;
     height: 100%;
@@ -72,13 +73,16 @@ body {
     text-align: center;
     color: $ui-primary-color;
     padding: 20px;
+    display: flex;
+    justify-content: center;
+    align-items: center;
 
     .dialog img {
       display: block;
-      margin: 0 auto;
       max-width: 470px;
       width: 100%;
       height: auto;
+      margin-top: -120px;
     }
 
     .dialog h1 {