commit: 78dcc0423e17c72b5f301cc55cb2f09ad9bdc4ee
parent 28c7fac9f0b740473575200051bc2983ec5c9be9
Author: Henry Jameson <me@hjkos.com>
Date: Thu, 29 Feb 2024 17:50:11 +0200
improve popover shadows (to not overlap with border)
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/components/popover/popover.vue b/src/components/popover/popover.vue
@@ -58,11 +58,11 @@
&::after {
content: "";
position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- z-index: 3;
+ top: -1px;
+ bottom: -1px;
+ left: -1px;
+ right: -1px;
+ z-index: -1px;
box-shadow: var(--shadow);
pointer-events: none;
}