Fixed gnome 50 issues

This commit is contained in:
Vince
2026-05-24 10:06:37 +08:00
parent 7ce45b4593
commit d688a58a62
3 changed files with 9 additions and 1 deletions

View File

@@ -1096,6 +1096,7 @@ libadwaita_base() {
shell_base() {
cp -rf "${THEME_SRC_DIR}/main/gnome-shell/_shell-base"{".scss","-temp.scss"}
sed $SED_OPT "/\GNOME_SHELL/s/46/$SHELL_VERSION/" "${THEME_SRC_DIR}/main/gnome-shell/_shell-base-temp.scss"
sed $SED_OPT "/\widgets/s/46-0/$GNOME_VERSION/" "${THEME_SRC_DIR}/main/gnome-shell/_shell-base-temp.scss"
if [[ "${GNOME_VERSION}" == '3-28' ]]; then

View File

@@ -1,3 +1,5 @@
$GNOME_SHELL: 46;
@import '../../sass/variables';
@import '../../sass/colors';
@import '../../sass/gnome-shell/drawing';

View File

@@ -162,9 +162,14 @@
color: $text_color !important;
border-radius: $base_border_radius * 3;
padding: $base_padding * 3;
margin: $base_padding * 2 $base_padding * 6 0;
border: none !important;
@if($GNOME_SHELL == '48') {
margin: $base_padding * 2 $base_padding * 6;
} @else {
margin: $base_padding * 2 0 0;
}
.popup-menu-item {
border-radius: $circular_radius !important;
// min-height: 20px;