about summary refs log tree commit diff
path: root/app/javascript/flavours
diff options
context:
space:
mode:
authorncls7615 <himasoto@gmail.com>2018-01-14 11:13:55 +0900
committerncls7615 <himasoto@gmail.com>2018-01-14 11:13:55 +0900
commitf9b08e2142f552ed2873a014b78869df04c614e3 (patch)
treec4f01a08829dbc8b97bac294b2ad4a1362a06a67 /app/javascript/flavours
parent1ebe66b78c3d0c6581d07febc279fc6fc874f681 (diff)
Fix collapsed toot style
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r--app/javascript/flavours/glitch/styles/components/status.scss60
1 files changed, 30 insertions, 30 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/status.scss b/app/javascript/flavours/glitch/styles/components/status.scss
index 22787ea94..4f19042c8 100644
--- a/app/javascript/flavours/glitch/styles/components/status.scss
+++ b/app/javascript/flavours/glitch/styles/components/status.scss
@@ -237,41 +237,41 @@
         }
       }
     }
+  }
 
-    &.collapsed {
-      background-position: center;
-      background-size: cover;
-      user-select: none;
-  
-      &.has-background::before {
-        display: block;
-        position: absolute;
-        left: 0;
-        right: 0;
-        top: 0;
-        bottom: 0;
-        background-image: linear-gradient(to bottom, rgba($base-shadow-color, .75), rgba($base-shadow-color, .65) 24px, rgba($base-shadow-color, .8));
-        content: "";
-      }
-  
-      .display-name:hover .display-name__html {
+  &.collapsed {
+    background-position: center;
+    background-size: cover;
+    user-select: none;
+
+    &.has-background::before {
+      display: block;
+      position: absolute;
+      left: 0;
+      right: 0;
+      top: 0;
+      bottom: 0;
+      background-image: linear-gradient(to bottom, rgba($base-shadow-color, .75), rgba($base-shadow-color, .65) 24px, rgba($base-shadow-color, .8));
+      content: "";
+    }
+
+    .display-name:hover .display-name__html {
+      text-decoration: none;
+    }
+
+    .status__content {
+      height: 20px;
+      overflow: hidden;
+      text-overflow: ellipsis;
+
+      a:hover {
         text-decoration: none;
       }
-  
-      .status__content {
-        height: 20px;
-        overflow: hidden;
-        text-overflow: ellipsis;
-  
-        a:hover {
-          text-decoration: none;
-        }
-      }
     }
+  }
 
-    .notification__message {
-      margin: -10px -10px 10px;
-    }
+  .notification__message {
+    margin: -10px -10px 10px;
   }
 }