[gtk/wip/jimmac/circular-image-buttons] Adwaita: force circular imagebuttons to be square




commit f8eaab9523cf17920df69b379c5c9372ccba50af
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Aug 6 15:52:33 2020 +0200

    Adwaita: force circular imagebuttons to be square
    
    Addresses https://gitlab.gnome.org/GNOME/gnome-clocks/-/merge_requests/123#note_884741

 gtk/theme/Adwaita/_common.scss | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index b33455d539..6dd745ccf3 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -542,6 +542,10 @@ button {
       min-width: 24px;
       padding-left: 5px;
       padding-right: 5px;
+
+      &.circular {
+         min-height: 24px;
+      }
     }
 
     &.text-button {
@@ -587,11 +591,12 @@ button {
 
   // big standalone buttons like in Documents pager
   &.osd {
-    min-width: 26px;
+    min-width: 32px;
     min-height: 32px;
 
     &.image-button { 
       min-width: 30px;
+      min-height: 30px;
       &:only-child {
         margin: 4px;
         border-radius: 50%; // completely round when it is a single button


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]