From bfc8f1efd82ea6082b1f9419101c8ba9421e54db Mon Sep 17 00:00:00 2001 From: Vince Date: Mon, 13 Jan 2025 14:09:57 +0800 Subject: [PATCH] Fixed #1200 --- src/sass/gtk/_common-3.0.scss | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/sass/gtk/_common-3.0.scss b/src/sass/gtk/_common-3.0.scss index 4e075786..33b1b289 100644 --- a/src/sass/gtk/_common-3.0.scss +++ b/src/sass/gtk/_common-3.0.scss @@ -2222,14 +2222,16 @@ menubar, menu { margin: 0; padding: $container_padding; - border-radius: $mn_radius; background-color: opacify($menu_bg, 1); - border: none; color: $fg_color; + border: none; // adds borders in a non composited env + border-radius: 0; @if $variant == 'dark' { box-shadow: inset 0 0 0 1px $highlight_color; } - .csd & { + .background.csd > & { + border: none; // axes borders in a composited env + border-radius: $mn_radius; background-color: $menu_bg; } @@ -2245,7 +2247,7 @@ menu { min-height: 12px; min-width: 40px; padding: $container_padding / 2 $container_padding; - border-radius: $bt_radius; + border-radius: $bt_radius / 2; text-shadow: none; color: $fg_color; font: initial; @@ -2314,6 +2316,10 @@ menu { } } + .background.csd > & > menuitem { + border-radius: $bt_radius; + } + // overflow buttons %menu_overflow_arrow, > arrow {