[gtk/wip/jimmac/menu-shadow-clipping-workaround: 4/4] Adwaita: work around popover shadow clipping




commit 5baf7c83d0d9497afb1247ebc9d7f9ee63573bb3
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri Nov 20 17:07:31 2020 +0100

    Adwaita: work around popover shadow clipping
    
    - rather than solving the issue, make the clipped rectangle
      look less bad by clipping on all sides but bottom
    
    https://gitlab.gnome.org/GNOME/gtk/-/issues/1987

 gtk/theme/Adwaita/_common.scss | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 510eb91218..6f7256c487 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1862,7 +1862,7 @@ $_menu-padding: 12px; //inner menuitem padding
 
 popover.menu {
   padding: 0;
-  margin: 0 3px 5px 3px; //alocate space for dropshadow. #1987
+  margin-bottom: 3px; //work around shadow clipping. #1987
 
   box.inline-buttons {
     padding: 0 $_menu-padding;


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