[libadwaita/wip/exalm/card: 12/14] stylesheet: Adjust margins for scalebuttons in toolbars
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/card: 12/14] stylesheet: Adjust margins for scalebuttons in toolbars
- Date: Thu, 21 Oct 2021 22:56:49 +0000 (UTC)
commit 32101e757317e87157476e43fb6492d6584f0c5e
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Thu Oct 21 14:44:50 2021 +0500
stylesheet: Adjust margins for scalebuttons in toolbars
They have a popover attached to them, so treat them same as menubuttons.
src/stylesheet/widgets/_toolbars.scss | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/stylesheet/widgets/_toolbars.scss b/src/stylesheet/widgets/_toolbars.scss
index 251105aa..3e14afcf 100644
--- a/src/stylesheet/widgets/_toolbars.scss
+++ b/src/stylesheet/widgets/_toolbars.scss
@@ -59,7 +59,8 @@
splitbutton,
separator:not(.sidebar),
button,
- menubutton {
+ menubutton,
+ scalebutton {
margin-top: 6px;
margin-bottom: 6px;
}
@@ -67,7 +68,8 @@
// Reset margins for buttons inside menubutton
menubutton > button,
splitbutton > button,
- splitbutton > menubutton {
+ splitbutton > menubutton,
+ scalebutton > button {
margin-top: 0px;
margin-bottom: 0px;
}
@@ -99,6 +101,7 @@
separator:not(.sidebar),
button,
menubutton,
+ scalebutton,
switch {
margin-top: 0;
margin-bottom: 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]