about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-05-04 18:18:15 +0200
committerThibaut Girka <thib@sitedethib.com>2019-05-04 18:18:15 +0200
commit373dd1fdf167977c97041059cf009a1331132d28 (patch)
treef5d80a957f3acdb6187d38700f4123ba091bc11d
parentccf4f3240ae80f4b1410d816f03d0bef33062a71 (diff)
Minor CSS fixes
-rw-r--r--app/javascript/flavours/glitch/styles/components/index.scss3
-rw-r--r--app/javascript/flavours/glitch/styles/components/sensitive.scss3
2 files changed, 3 insertions, 3 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/index.scss b/app/javascript/flavours/glitch/styles/components/index.scss
index b323305cc..788bb2e0e 100644
--- a/app/javascript/flavours/glitch/styles/components/index.scss
+++ b/app/javascript/flavours/glitch/styles/components/index.scss
@@ -1074,11 +1074,12 @@
   z-index: 100;
 
   &--minified {
-    display: block;
+    display: flex;
     left: 4px;
     top: 4px;
     width: auto;
     height: auto;
+    align-items: center;
   }
 
   &--hidden {
diff --git a/app/javascript/flavours/glitch/styles/components/sensitive.scss b/app/javascript/flavours/glitch/styles/components/sensitive.scss
index b0a7dfe03..44b7ec981 100644
--- a/app/javascript/flavours/glitch/styles/components/sensitive.scss
+++ b/app/javascript/flavours/glitch/styles/components/sensitive.scss
@@ -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;