From f618c8e8ec550002c41567b21bf72f0d4074790d Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Sun, 24 Apr 2022 11:19:11 +0800 Subject: [PATCH] Fixed #53 --- install.sh | 1 + src/sass/gnome-shell/common/_panel.scss | 2 +- src/sass/gtk/_common-3.0.scss | 12 +++++++++--- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index b3032eda..2b62a895 100755 --- a/install.sh +++ b/install.sh @@ -39,6 +39,7 @@ if [[ "$(command -v gnome-shell)" ]]; then fi else echo "'gnome-shell' not found, using styles for last gnome-shell version available." + GS_VERSION="42-0" fi usage() { diff --git a/src/sass/gnome-shell/common/_panel.scss b/src/sass/gnome-shell/common/_panel.scss index 51ada320..f4bbd269 100644 --- a/src/sass/gnome-shell/common/_panel.scss +++ b/src/sass/gnome-shell/common/_panel.scss @@ -84,7 +84,7 @@ // status area icons .system-status-icon { icon-size: $base_icon_size; - padding: $base_padding - 1px; + padding: $base_padding; margin: 0 $base_margin; -st-icon-style: symbolic; } diff --git a/src/sass/gtk/_common-3.0.scss b/src/sass/gtk/_common-3.0.scss index 1e371428..6cb92cc6 100644 --- a/src/sass/gtk/_common-3.0.scss +++ b/src/sass/gtk/_common-3.0.scss @@ -890,9 +890,11 @@ combobox { decoration { transition: none; } // workaround for menuitem selection - button.combo cellview { - &:dir(ltr) { margin-left: 8px - ($medium-size - 16px) / 2; } - &:dir(rtl) { margin-right: 8px - ($medium-size - 16px) / 2; } + button.combo { + cellview { + &:dir(ltr) { margin-left: 8px - ($medium-size - 16px) / 2; } + &:dir(rtl) { margin-right: 8px - ($medium-size - 16px) / 2; } + } } &.linked { @@ -938,6 +940,10 @@ combobox { // work, special case needed. See // https://bugzilla.gnome.org/show_bug.cgi?id=733979 +combobox > .linked > button.combo { + padding: ($medium-size - 24px) / 2 ($medium-size - 16px) / 2; // reset +} + .linked:not(.vertical) > combobox { &:not(:first-child) > box > button.combo { border-top-left-radius: 0;