diff --git a/data/theme/gnome-shell-sass/widgets/_popovers.scss b/data/theme/gnome-shell-sass/widgets/_popovers.scss index f523ec6dd..3ddca4f24 100644 --- a/data/theme/gnome-shell-sass/widgets/_popovers.scss +++ b/data/theme/gnome-shell-sass/widgets/_popovers.scss @@ -139,6 +139,13 @@ border-radius: 0 0 $base_border_radius $base_border_radius; } } + + .popup-menu-section { + .popup-menu-item:last-child:hover { border-radius: 0 } + &:last-child .popup-menu-item:last-child:hover { + border-radius: 0 0 $base_border_radius $base_border_radius; + } + } } // container for radio and check boxes diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index f9c3df0bf..0cb4970c1 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -1165,6 +1165,8 @@ var PopupMenuSection = class extends PopupMenuBase { this.actor = this.box; this.actor._delegate = this; this.isOpen = true; + + this.actor.add_style_class_name('popup-menu-section'); } // deliberately ignore any attempt to open() or close(), but emit the