From 422ae67527e5a45e652c360f1890874cd9a69834 Mon Sep 17 00:00:00 2001 From: Jonathan Belcher Date: Tue, 28 Jul 2020 12:36:20 -0400 Subject: [PATCH] Fixes styling of offline badge (#2234) --- lib/note-toolbar/style.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/note-toolbar/style.scss b/lib/note-toolbar/style.scss index 3ddec66a6..95ecf531c 100644 --- a/lib/note-toolbar/style.scss +++ b/lib/note-toolbar/style.scss @@ -13,11 +13,16 @@ color: $studio-gray-50; font-size: 12px; height: 24px; + line-height: 24px; margin-top: 16px; text-align: center; width: 64px; } +.is-electron .note-toolbar-wrapper .offline-badge { + margin-top: -11px; +} + .theme-dark .note-toolbar-wrapper .offline-badge { border: solid 1px $studio-gray-80; box-shadow: 0 2px 4px 0 rgba(255, 255, 255, 0.02);