about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-23 12:08:31 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:20 -0500
commit1d71987d13a48b23f50836f2edc2277a9f1d2773 (patch)
tree090ac4db7d220bcdc8a8953429d86ac2b7fbba37 /app
parent5622de4a785e6b7c9a4946af3efaf8b4c2bc5755 (diff)
[UI] Fix padding between content note icon and span
Diffstat (limited to 'app')
-rw-r--r--app/javascript/flavours/glitch/styles/monsterfork/components/status.scss20
1 files changed, 15 insertions, 5 deletions
diff --git a/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss b/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss
index 65ac9286d..ae8453452 100644
--- a/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss
+++ b/app/javascript/flavours/glitch/styles/monsterfork/components/status.scss
@@ -137,22 +137,32 @@ div[data-nest-deep="true"] {
     }
   }
 
+  p:first-child,
+  pre:first-child,
+  blockquote:first-child,
+  div.status__notice-wrapper + p {
+    margin-top: 0px;
+  }
+
   p, pre, blockquote {
     margin-top: 1em;
     margin-bottom: 0px;
   }
 
-  .status__content__spoiler {
-    .status__content__spoiler--visible {
-      margin-top: 1em;
-    }
+  .status__content__spoiler--visible {
+    margin-top: 1em;
+    margin-bottom: 1em;
   }
 
   .spoiler {
     & > i {
-      padding-right: 8px;
+      width: 1.1em;
       color: lighten($dark-text-color, 4%);
     }
+
+    & > span {
+      padding-left: 8px;
+    }
   }
 
   .reblog-spoiler {