[libadwaita/wip/exalm/menu-scrollbar] stylesheet: Move menu popover padding inside scrolled window
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/menu-scrollbar] stylesheet: Move menu popover padding inside scrolled window
- Date: Sat, 11 Sep 2021 23:27:30 +0000 (UTC)
commit 43f398cea7934af96e9670d8438a7880cb6cb470
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sun Sep 12 04:27:34 2021 +0500
stylesheet: Move menu popover padding inside scrolled window
src/stylesheet/widgets/_menus.scss | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/stylesheet/widgets/_menus.scss b/src/stylesheet/widgets/_menus.scss
index 014e0f05..6de78357 100644
--- a/src/stylesheet/widgets/_menus.scss
+++ b/src/stylesheet/widgets/_menus.scss
@@ -1,6 +1,4 @@
popover.menu {
- padding: 0;
-
box.inline-buttons {
padding: 0 $menu_padding;
@@ -46,7 +44,11 @@ popover.menu {
&.background > contents {
background-color: $menu_color;
color: $text_color;
- padding: $menu-margin;
+ padding: 0;
+
+ > scrolledwindow > viewport {
+ padding: $menu-margin;
+ }
}
&.background separator {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]