[gtk: 2/3] Adwaita: Ensure button.circular is a perfect circle
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 2/3] Adwaita: Ensure button.circular is a perfect circle
- Date: Mon, 31 Aug 2020 09:27:53 +0000 (UTC)
commit 4cf922865953510b16a194a4b80dd0802bb24ed1
Author: nana-4 <hnmaigo gmail com>
Date: Fri Aug 28 21:56:30 2020 +0900
Adwaita: Ensure button.circular is a perfect circle
It seems the commit 9d60047616661dc073ca6310193c2e18a3aaa59c had no
effect, even on image buttons.
gtk/theme/Adwaita/_common.scss | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 7543fa754b..3e1b33802a 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -548,11 +548,6 @@ button {
min-width: 24px;
padding-left: 5px;
padding-right: 5px;
-
- &.circular {
- min-height: 24px;
- padding: 4px;
- }
}
&.text-button {
@@ -770,7 +765,10 @@ button {
.linked.vertical > & { @extend %linked_vertical; }
- &.circular { // The Bloody Circul Button
+ &.circular { // force circular button shape
+ min-width: 32px;
+ min-height: 32px;
+ padding: 0;
border-radius: 9999px;
label { padding: 0; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]