Merge branch 'circular-menubutton' into 'master'

Allow circular menubuttons

Closes #3423 and #3523

See merge request GNOME/gtk!3117
This commit is contained in:
Matthias Clasen 2021-01-26 12:47:38 +00:00
commit 1fe6fb6739
2 changed files with 4 additions and 0 deletions

View File

@ -120,6 +120,9 @@
* the menu will appear in. The CSS is expected to provide a suitable
* image for each of these cases using the -gtk-icon-source property.
*
* Optionally, the menubutton node can carry the .circular style class
* to request a round appearance.
*
* # Accessibility
*
* GtkMenuButton uses the #GTK_ACCESSIBLE_ROLE_BUTTON role.

View File

@ -746,6 +746,7 @@ button {
.linked.vertical > & { @extend %linked_vertical; }
menubutton.circular &,
&.circular { // force circular button shape
min-width: 32px;
min-height: 32px;