From 373dd1fdf167977c97041059cf009a1331132d28 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Sat, 4 May 2019 18:18:15 +0200 Subject: [PATCH] Minor CSS fixes --- app/javascript/flavours/glitch/styles/components/index.scss | 3 ++- .../flavours/glitch/styles/components/sensitive.scss | 3 +-- 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 b323305cc2..788bb2e0ec 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 b0a7dfe037..44b7ec981e 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;