From cd82e10d87c2c90ce6b45c43b7809d6a6eeee2e7 Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Mon, 18 Jul 2022 16:17:03 +0800 Subject: [PATCH] FIX: Restrict sidebar specific select kit CSS to sidebar (#17552) Follow-up to 0d72a8c458216698f55aaee54b8ffbe4d7750ce9 --- .../stylesheets/common/base/sidebar.scss | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/app/assets/stylesheets/common/base/sidebar.scss b/app/assets/stylesheets/common/base/sidebar.scss index fff18e2eef0..56f1a588234 100644 --- a/app/assets/stylesheets/common/base/sidebar.scss +++ b/app/assets/stylesheets/common/base/sidebar.scss @@ -116,6 +116,23 @@ font-size: 1em; font-weight: bold; align-items: stretch; + + .select-kit { + .btn { + background: transparent; + &:hover { + background: var(--primary-low); + } + } + .d-icon { + font-size: var(--font-down-1); + color: var(--primary-medium); + margin-right: 0; + } + summary { + padding: 0.25em 0.5em; + } + } } .sidebar-section-header-link, @@ -137,23 +154,6 @@ } } - .select-kit { - .btn { - background: transparent; - &:hover { - background: var(--primary-low); - } - } - .d-icon { - font-size: var(--font-down-1); - color: var(--primary-medium); - margin-right: 0; - } - summary { - padding: 0.25em 0.5em; - } - } - .sidebar-section-header-button { background: none; border: none;