about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/statuses.scss
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-04-28 10:16:55 +0200
committerThibaut Girka <thib@sitedethib.com>2020-05-03 21:44:43 +0200
commit9e5a2168782f24464353e24e497c1f174d9dc1d9 (patch)
tree3f6b1fc550c30a769efb66d49cbb677f270e521b /app/javascript/flavours/glitch/styles/statuses.scss
parent4a5f93c25f747e22fa97a17fb56e216c73ee60fa (diff)
[Glitch] Fix end-user-facing uses of inline CSS
Port 0e362b7678e75cb71ce207fd45dd4dc0d955fdca to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/styles/statuses.scss')
-rw-r--r--app/javascript/flavours/glitch/styles/statuses.scss17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/statuses.scss b/app/javascript/flavours/glitch/styles/statuses.scss
index 22fa7b3fd..4122e121a 100644
--- a/app/javascript/flavours/glitch/styles/statuses.scss
+++ b/app/javascript/flavours/glitch/styles/statuses.scss
@@ -124,6 +124,16 @@
 
 .embed,
 .public-layout {
+  .status__content[data-spoiler=folded] {
+    .e-content {
+      display: none;
+    }
+
+    p:first-child {
+      margin-bottom: 0;
+    }
+  }
+
   .detailed-status {
     padding: 15px;
   }
@@ -162,6 +172,13 @@
     .video-player {
       margin-top: 10px;
     }
+
+    &__action-bar-button {
+      font-size: 18px;
+      width: 23.1429px;
+      height: 23.1429px;
+      line-height: 23.15px;
+    }
   }
 }