summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Steiner <jimmac@gmail.com>2020-09-29 12:54:25 +0200
committerJakub Steiner <jimmac@gmail.com>2020-09-29 12:54:25 +0200
commit482fbd090b7c3ba162a5cf2bfaa09f7e504a9f86 (patch)
treea2f79fe9275e702573613f37ec8f4a436a6d8a5e
parent2e5caa68bc5b37fdf1b808b304c6d5499f21ab48 (diff)
downloadgtk+-wip/jimmac/submenus.tar.gz
Adwaita: rounded submenuswip/jimmac/submenus
- all corners have rounded corners See https://gitlab.gnome.org/GNOME/gtk/-/issues/2745
-rw-r--r--gtk/theme/Adwaita/_common.scss4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 56e0a8d277..2b5157b312 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -4161,8 +4161,6 @@ menubar {
box-shadow: none;
}
}
- // remove padding and rounding from menubar submenu decoration
- .csd.popup decoration { border-radius:0; }
// only bottom part rounded for menubar menus
& > item popover.menu.background > contents {
margin-top: -1px; //nudge it into the menubar
@@ -4173,7 +4171,7 @@ menubar {
//nested submenus
& > item popover.menu.background popover.menu.background > contents {
margin: 0;
- border-radius: 0;
+ border-radius: $popover_radius; //including top
}
}