[libadwaita/wip/exalm/more-fixes] stylesheet: More menu padding fixes
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/more-fixes] stylesheet: More menu padding fixes
- Date: Tue, 14 Sep 2021 13:04:38 +0000 (UTC)
commit 8dd61a555ca5b22bab1620469790c4264b0764b5
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Sep 14 17:51:00 2021 +0500
stylesheet: More menu padding fixes
Turns out that combo box popover does not scroll and so has different
layout, meanwhile menubar popovers add extra padding on themselves for no
particular reason.
src/stylesheet/widgets/_menus.scss | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/stylesheet/widgets/_menus.scss b/src/stylesheet/widgets/_menus.scss
index b2744ecd..6bc4174d 100644
--- a/src/stylesheet/widgets/_menus.scss
+++ b/src/stylesheet/widgets/_menus.scss
@@ -45,9 +45,13 @@ popover.menu {
background-color: $menu_color;
color: $text_color;
padding: 0;
+ }
- > scrolledwindow > viewport {
- padding: $menu-margin;
+ &.background > contents {
+ &, > scrolledwindow > viewport {
+ > stack > box {
+ padding: $menu-margin;
+ }
}
}
@@ -152,10 +156,6 @@ menubar {
background-color: $view_selected_color;
}
- popover.menu.background > contents {
- padding: $menu-margin;
- }
-
//nested submenus
popover.menu popover.menu {
padding: 0 0 4px 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]