diff --git a/src/main/gtk-3.0/gtk-dark.css b/src/main/gtk-3.0/gtk-dark.css index 0f941c3a..365596c0 100644 --- a/src/main/gtk-3.0/gtk-dark.css +++ b/src/main/gtk-3.0/gtk-dark.css @@ -3159,6 +3159,7 @@ popover.background { popover.background, .csd popover.background { border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 2px 2.4px -1px rgba(0, 0, 0, 0.2), 0 4px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.75); + background-clip: border-box; } popover.background:backdrop, .csd popover.background:backdrop { diff --git a/src/main/gtk-3.0/gtk-light.css b/src/main/gtk-3.0/gtk-light.css index 9c001231..8fd58f12 100644 --- a/src/main/gtk-3.0/gtk-light.css +++ b/src/main/gtk-3.0/gtk-light.css @@ -3159,6 +3159,7 @@ popover.background { popover.background, .csd popover.background { border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 2px 2.4px -1px rgba(0, 0, 0, 0.2), 0 4px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.12); + background-clip: border-box; } popover.background:backdrop, .csd popover.background:backdrop { diff --git a/src/main/gtk-3.0/gtk.css b/src/main/gtk-3.0/gtk.css index 935f28f6..f8a3e536 100644 --- a/src/main/gtk-3.0/gtk.css +++ b/src/main/gtk-3.0/gtk.css @@ -3168,6 +3168,7 @@ popover.background { popover.background, .csd popover.background { border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: 0 2px 2.4px -1px rgba(0, 0, 0, 0.2), 0 4px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.12); + background-clip: border-box; } popover.background:backdrop, .csd popover.background:backdrop { diff --git a/src/sass/gtk/_common-3.0.scss b/src/sass/gtk/_common-3.0.scss index a2ba00dd..9b1b4936 100644 --- a/src/sass/gtk/_common-3.0.scss +++ b/src/sass/gtk/_common-3.0.scss @@ -1754,6 +1754,7 @@ popover.background { } @else { border: 1px solid highlight($surface); box-shadow: $shadow-z4, 0 0 0 1px $window-border; + background-clip: border-box; &:backdrop { box-shadow: $shadow-z2, 0 0 0 1px $window-border; } }