about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss15
-rw-r--r--app/javascript/flavours/glitch/styles/monsterfork/components/status.scss20
2 files changed, 16 insertions, 19 deletions
diff --git a/app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss b/app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss
index a9e8fbe65..44df7efc9 100644
--- a/app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss
+++ b/app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss
@@ -172,19 +172,4 @@
     text-align: right;
     margin-top: 0px;
   }
-}
-
-.status__content {
-  p, pre, blockquote {
-    margin-top: 1em;
-    margin-bottom: 0px;
-  }
-
-  p:first-child, pre:first-child, blockquote:first-child {
-    margin-top: 0px;
-  }
-
-  .status__content__spoiler.status__content__spoiler--visible {
-    margin-top: 1em;
-  }
 }
\ No newline at end of file
diff --git a/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss b/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss
index 37e9f0307..f1e166d69 100644
--- a/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss
+++ b/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss
@@ -1,7 +1,3 @@
-.status__notice-wrapper {
-  margin-bottom: 1em;
-}
-
 .status__notice-wrapper:empty,
 .status__footers:empty {
   display: none;
@@ -140,6 +136,22 @@ div[data-nest-deep="true"] {
       margin: 1em auto;
     }
   }
+
+  p, pre, blockquote {
+    margin-top: 1em;
+    margin-bottom: 0px;
+  }
+
+  p:first-child,
+  pre:first-child,
+  blockquote:first-child,
+  div.status__notice-wrapper + p {
+    margin-top: 0px;
+  }
+
+  .status__content__spoiler.status__content__spoiler--visible {
+    margin-top: 1em;
+  }
 }
 
 div.media-caption {