summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorJakub Steiner <jimmac@gmail.com>2020-11-16 13:31:27 +0100
committerJakub Steiner <jimmac@gmail.com>2020-11-16 13:31:27 +0100
commit04d802f7f43a4f865cc7303542c17fbdefcfa30b (patch)
tree69ac457a32ec9085c2faa73daef227bd830c5a61 /gtk
parent994cc32d7be5546e3f29b8a1d4f6e69d86c846f2 (diff)
downloadgtk+-04d802f7f43a4f865cc7303542c17fbdefcfa30b.tar.gz
Adwaita: remove chin on menus
- clipping a rounded corner seems to be working fine for first and last item. Addresses https://gitlab.gnome.org/GNOME/gtk/-/issues/3366
Diffstat (limited to 'gtk')
-rw-r--r--gtk/theme/Adwaita/_common.scss14
1 files changed, 4 insertions, 10 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index af79bb8e65..1dd18be488 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -4152,12 +4152,9 @@ menubar {
box-shadow: none;
}
}
- // only bottom part rounded for menubar menus
+
& > item popover.menu.background > contents {
- margin-top: -1px; //nudge it into the menubar
- border-top-left-radius: 0;
- border-top-right-radius: 0;
- padding: 0 0 $menu_radius 0;
+ padding: 0;
}
//nested submenus
& > item popover.menu.background popover.menu.background > contents {
@@ -4169,7 +4166,7 @@ menubar {
$_menu-padding: 12px;
popover.menu {
- padding: 0px;
+ padding: 0;
box.inline-buttons {
padding: 0 $_menu-padding;
@@ -4201,10 +4198,7 @@ popover.menu {
& > arrow,
&.background > contents {
background-color: $menu_color;
- }
-
- &.background > contents {
- padding: 8px 0;
+ padding: 0;
}
&.background separator {