Skip to content

Commit 622b1a2

Browse files
megaxkhurshid-alam
authored andcommitted
[GTK 3.20] Fixed Circular button radius bug.
1 parent 5ea55ab commit 622b1a2

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

gtk-3.20/scss/widgets/_button.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,8 @@
382382
.linked.vertical > & { @include linked_vertical_button(shade($bg_color, 1.2)); }
383383

384384
&.circular { // FIXME: aggregate to buttons
385-
border-radius: 20px;
386-
-gtk-outline-radius: 20px;
385+
border-radius: 9999px; // Fixed: https://github.com/GNOME/gtk/commit/a6409458f0d50d673a4dc370b9251993b7835b6b
386+
-gtk-outline-radius: 9999px;
387387

388388
label { padding: 0; }
389389
}

gtk-3.20/scss/widgets/_misc.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,11 @@
280280
stackswitcher button {
281281
&.text-button { min-width: 90px; } // FIXME aggregate with buttons
282282

283-
&.circular { min-width: 0; } // FIXME aggregate with buttons
283+
&.circular { // FIXME aggregate with buttons
284+
min-width: 32px;
285+
min-height: 32px;
286+
padding: 0;
287+
}
284288
}
285289
}
286290

0 commit comments

Comments
 (0)