[gtk/wip/jimmac/menu-shadow-clipping-workaround: 2/2] Adwaita: workaround shadow clipping




commit acb00acb1340ecdd05791f481987bc29787d9884
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri Nov 20 13:35:51 2020 +0100

    Adwaita: workaround shadow clipping
    
    - rather than eating away from the size of the menu
      to make room for dropshadow, only shrink at the bottom.
    
    Works around https://gitlab.gnome.org/GNOME/gtk/-/issues/1987

 gtk/theme/Adwaita/_common.scss | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 8d054a466c..8c74c23e47 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1862,6 +1862,8 @@ $_menu-padding: 12px; //inner menuitem padding
 
 popover.menu {
   padding: 0;
+  margin-bottom: 3px; // not a fix but a slight workarond for the clipping
+                      // #1987
 
   box.inline-buttons {
     padding: 0 $_menu-padding;


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