[libadwaita/wip/exalm/borderless: 56/58] stylesheet: Make image buttons square
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/borderless: 56/58] stylesheet: Make image buttons square
- Date: Sun, 5 Sep 2021 15:42:24 +0000 (UTC)
commit 1dcf55a571b7542a4a52a0cc3ca41861c27f919d
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sun Jul 4 19:15:00 2021 +0500
stylesheet: Make image buttons square
They were made rectangular for 3.32, now that they are flat it doesn't make
sense anymore. As far as I can tell, header bars were the only reason they
were ever rectangular, so just revert that change.
src/stylesheet/widgets/_buttons.scss | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/stylesheet/widgets/_buttons.scss b/src/stylesheet/widgets/_buttons.scss
index b8870fbc..006a51aa 100644
--- a/src/stylesheet/widgets/_buttons.scss
+++ b/src/stylesheet/widgets/_buttons.scss
@@ -53,8 +53,8 @@ button {
&.image-button {
min-width: 24px;
- padding-left: 6px;
- padding-right: 6px;
+ padding-left: 5px;
+ padding-right: 5px;
}
&.text-button {
@@ -64,8 +64,8 @@ button {
&.text-button.image-button,
&.image-text-button {
- padding-left: 10px;
- padding-right: 10px;
+ padding-left: 9px;
+ padding-right: 9px;
> box,
> box > box {
@@ -79,8 +79,8 @@ button {
}
&.arrow-button {
- padding-left: 10px;
- padding-right: 10px;
+ padding-left: 9px;
+ padding-right: 9px;
> box { border-spacing: 4px; }
@@ -418,8 +418,8 @@ splitbutton {
&.text-button.image-button > button,
&.image-text-button > button {
- padding-left: 10px;
- padding-right: 10px;
+ padding-left: 9px;
+ padding-right: 9px;
> box {
border-spacing: 6px;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]