[libadwaita/wip/exalm/menu-split-buttons: 8/19] stylesheet: Remove separator margin for non-menu popovers
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/menu-split-buttons: 8/19] stylesheet: Remove separator margin for non-menu popovers
- Date: Fri, 10 Sep 2021 14:25:44 +0000 (UTC)
commit fd2b02351bc90d78bdc5458b738c5c62a5817ba4
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sun Aug 1 00:05:11 2021 +0500
stylesheet: Remove separator margin for non-menu popovers
It seems to be legacy from GTK3 GtkPopoverMenu era, there's no explanation
of why it was added:
https://gitlab.gnome.org/GNOME/gtk/-/commit/1c3bad3d907f3b824d93931edf7fb3eaf68f35f8
So let's remove it.
src/stylesheet/widgets/_menus.scss | 4 ++++
src/stylesheet/widgets/_popovers.scss | 6 ------
2 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/src/stylesheet/widgets/_menus.scss b/src/stylesheet/widgets/_menus.scss
index 5a201da0..8ec39227 100644
--- a/src/stylesheet/widgets/_menus.scss
+++ b/src/stylesheet/widgets/_menus.scss
@@ -53,6 +53,10 @@ popover.menu {
margin: 6px 0;
}
+ &.background list separator {
+ margin: 0;
+ }
+
accelerator {
color: gtkalpha(currentColor, 0.55);
diff --git a/src/stylesheet/widgets/_popovers.scss b/src/stylesheet/widgets/_popovers.scss
index 9dd913f9..58ee6907 100644
--- a/src/stylesheet/widgets/_popovers.scss
+++ b/src/stylesheet/widgets/_popovers.scss
@@ -33,12 +33,6 @@ popover.background {
border-style: none;
background-color: transparent;
}
-
- separator {
- margin: 3px;
- }
-
- list separator { margin: 0; }
}
.osd &.background,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]