about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/components/error_boundary.scss
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-07-15 00:16:31 +0200
committerThibG <thib@sitedethib.com>2019-07-15 00:28:31 +0200
commite0bfa685c63b9c33c96b00b8305cd6ad3f3db27a (patch)
treec7f20755d087f36b40bdda3e65d03fe7436283ef /app/javascript/flavours/glitch/styles/components/error_boundary.scss
parent0baaee495f83e1b4b5d42196b78aa220256b75ee (diff)
Fix error boundary CSS
Diffstat (limited to 'app/javascript/flavours/glitch/styles/components/error_boundary.scss')
-rw-r--r--app/javascript/flavours/glitch/styles/components/error_boundary.scss36
1 files changed, 17 insertions, 19 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/error_boundary.scss b/app/javascript/flavours/glitch/styles/components/error_boundary.scss
index f9bf425f8..3176690e2 100644
--- a/app/javascript/flavours/glitch/styles/components/error_boundary.scss
+++ b/app/javascript/flavours/glitch/styles/components/error_boundary.scss
@@ -1,4 +1,8 @@
 .error-boundary {
+  color: $primary-text-color;
+  font-size: 15px;
+  line-height: 20px;
+
   h1 {
     font-size: 26px;
     line-height: 36px;
@@ -6,27 +10,21 @@
     margin-bottom: 8px;
   }
 
-  p {
+  a {
     color: $primary-text-color;
-    font-size: 15px;
-    line-height: 20px;
-
-    a {
-      color: $primary-text-color;
-      text-decoration: underline;
-    }
+    text-decoration: underline;
+  }
 
-    ul {
-      list-style: disc;
-      margin-left: 0;
-      padding-left: 1em;
-    }
+  ul {
+    list-style: disc;
+    margin-left: 0;
+    padding-left: 1em;
+  }
 
-    textarea.web_app_crash-stacktrace {
-      width: 100%;
-      resize: none;
-      white-space: pre;
-      font-family: $font-monospace, monospace;
-    }
+  textarea.web_app_crash-stacktrace {
+    width: 100%;
+    resize: none;
+    white-space: pre;
+    font-family: $font-monospace, monospace;
   }
 }