fix: consider 1px border

This commit is contained in:
Shariq Ansari 2024-01-30 01:14:56 +05:30
parent a0ba6dd7a1
commit 4af4d12625

View File

@ -2,11 +2,12 @@
<div <div
v-if="notificationsStore().visible" v-if="notificationsStore().visible"
ref="target" ref="target"
class="absolute left-[102%] z-20 h-screen bg-white transition-all duration-300 ease-in-out" class="absolute z-20 h-screen bg-white transition-all duration-300 ease-in-out"
:style="{ :style="{
'box-shadow': '8px 0px 8px rgba(0, 0, 0, 0.1)', 'box-shadow': '8px 0px 8px rgba(0, 0, 0, 0.1)',
'max-width': '350px', 'max-width': '350px',
'min-width': '350px', 'min-width': '350px',
'left': 'calc(100% + 1px)'
}" }"
> >
<div class="flex h-screen flex-col"> <div class="flex h-screen flex-col">