]> cat aescling's git repositories - mastodon.git/commitdiff
Fix error boundary CSS
authorThibaut Girka <thib@sitedethib.com>
Sun, 14 Jul 2019 22:16:31 +0000 (00:16 +0200)
committerThibG <thib@sitedethib.com>
Sun, 14 Jul 2019 22:28:31 +0000 (00:28 +0200)
app/javascript/flavours/glitch/styles/components/error_boundary.scss

index f9bf425f8023217a0c2677671f283ac8a9903b20..3176690e2cdfaaa6e18dddf81d474c790b4fb051 100644 (file)
@@ -1,4 +1,8 @@
 .error-boundary {
+  color: $primary-text-color;
+  font-size: 15px;
+  line-height: 20px;
+
   h1 {
     font-size: 26px;
     line-height: 36px;
     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;
   }
 }