[GTK 3.20] Fixed Circular button radius bug.

pull/528/head
Csaba Jakosa 2016-08-25 17:46:51 +02:00 committed by Khurshid Alam
parent 5ea55ab061
commit 622b1a2575
2 changed files with 7 additions and 3 deletions

View File

@ -382,8 +382,8 @@
.linked.vertical > & { @include linked_vertical_button(shade($bg_color, 1.2)); }
&.circular { // FIXME: aggregate to buttons
border-radius: 20px;
-gtk-outline-radius: 20px;
border-radius: 9999px; // Fixed: https://github.com/GNOME/gtk/commit/a6409458f0d50d673a4dc370b9251993b7835b6b
-gtk-outline-radius: 9999px;
label { padding: 0; }
}

View File

@ -280,7 +280,11 @@
stackswitcher button {
&.text-button { min-width: 90px; } // FIXME aggregate with buttons
&.circular { min-width: 0; } // FIXME aggregate with buttons
&.circular { // FIXME aggregate with buttons
min-width: 32px;
min-height: 32px;
padding: 0;
}
}
}