[libadwaita/wip/exalm/borderless: 9/13] stylesheet: Make image buttons square
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/borderless: 9/13] stylesheet: Make image buttons square
- Date: Mon, 6 Sep 2021 13:22:38 +0000 (UTC)
commit 8fadf930cb120cb25ede63016571d9f3f31b59ca
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 1a2d540a..4bfa390f 100644
--- a/src/stylesheet/widgets/_buttons.scss
+++ b/src/stylesheet/widgets/_buttons.scss
@@ -56,8 +56,8 @@ button {
&.image-button {
min-width: 24px;
- padding-left: 6px;
- padding-right: 6px;
+ padding-left: 5px;
+ padding-right: 5px;
}
&.text-button {
@@ -67,8 +67,8 @@ button {
&.text-button.image-button,
&.image-text-button {
- padding-left: 10px;
- padding-right: 10px;
+ padding-left: 9px;
+ padding-right: 9px;
> box,
> box > box {
@@ -82,8 +82,8 @@ button {
}
&.arrow-button {
- padding-left: 10px;
- padding-right: 10px;
+ padding-left: 9px;
+ padding-right: 9px;
> box { border-spacing: 4px; }
@@ -421,8 +421,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]