]> cat aescling's git repositories - mastodon.git/commitdiff
Minor CSS fixes
authorThibaut Girka <thib@sitedethib.com>
Sat, 4 May 2019 16:18:15 +0000 (18:18 +0200)
committerThibaut Girka <thib@sitedethib.com>
Sat, 4 May 2019 16:18:15 +0000 (18:18 +0200)
app/javascript/flavours/glitch/styles/components/index.scss
app/javascript/flavours/glitch/styles/components/sensitive.scss

index b323305cc24cecdf4e10f8fd1071efa6f05786fb..788bb2e0ecb2c11b3e445d9d304c5095b330450e 100644 (file)
   z-index: 100;
 
   &--minified {
-    display: block;
+    display: flex;
     left: 4px;
     top: 4px;
     width: auto;
     height: auto;
+    align-items: center;
   }
 
   &--hidden {
index b0a7dfe037cc9b18c582ca6534d17e6dc1e021d0..44b7ec981ef2edc33c19b84074f42061d545b8d6 100644 (file)
@@ -9,13 +9,12 @@
 }
 
 .sensitive-marker {
-  margin: 0 3px;
   border-radius: 2px;
   padding: 2px 6px;
   color: rgba($primary-text-color, 0.8);
   background: rgba($base-overlay-background, 0.5);
   font-size: 12px;
-  line-height: 15px;
+  line-height: 18px;
   text-transform: uppercase;
   opacity: .9;
   transition: opacity .1s ease;