From ddfbfaf0ef17e7bebea561b725bc856c8af19f6e Mon Sep 17 00:00:00 2001 From: Ryo Hilmawan <54142180+CloudHill@users.noreply.github.com> Date: Fri, 6 Nov 2020 03:10:09 +0700 Subject: [PATCH] Update styles.css to work with options --- mods/topbar-icons/styles.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mods/topbar-icons/styles.css b/mods/topbar-icons/styles.css index 957f9d9..3559111 100644 --- a/mods/topbar-icons/styles.css +++ b/mods/topbar-icons/styles.css @@ -5,24 +5,24 @@ * under the MIT license */ -.notion-topbar-actions > div { +.notion-topbar-icon { width: 32px; padding: 0 7px !important; } -.notion-topbar-actions > :not(:first-child):not(:last-child) > *:not(div) { +.notion-topbar-icon:not(:first-child) > *:not(div) { display: none !important; } -.notion-topbar-actions > div > div, -.notion-topbar-actions svg { +.notion-topbar-icon > div, +.notion-topbar-icon svg { width: 18px; height: 18px; } -.notion-topbar-actions > [style*="padding-left: 8px"] > div > svg:last-child { +.notion-topbar-icon[style*="padding-left: 8px"] > div > :last-child { display: none; } -.notion-topbar-actions > [style*="padding-left: 6px"] > div > svg:first-child { +.notion-topbar-icon[style*="padding-left: 6px"] > div > :first-child { display: none; -} \ No newline at end of file +}