aboutsummaryrefslogtreecommitdiff
path: root/src/components/popover/popover.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2024-02-29 17:50:11 +0200
committerHenry Jameson <me@hjkos.com>2024-02-29 17:50:11 +0200
commit78dcc0423e17c72b5f301cc55cb2f09ad9bdc4ee (patch)
tree639b91cc30724dba23e170df0d5382dd575778bc /src/components/popover/popover.vue
parent28c7fac9f0b740473575200051bc2983ec5c9be9 (diff)
improve popover shadows (to not overlap with border)
Diffstat (limited to 'src/components/popover/popover.vue')
-rw-r--r--src/components/popover/popover.vue10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/popover/popover.vue b/src/components/popover/popover.vue
index f4e399bf..0cc0949c 100644
--- 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;
}