Skip to content

Commit 480506c

Browse files
committed
make SlideOver header relative to prevent close button from scrolling
1 parent 8df79f2 commit 480506c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/SlideOver.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<div class="flex-1">
1212
<!-- Header -->
13-
<div class="bg-gray-50 dark:bg-gray-900 px-4 py-6 sm:px-6">
13+
<div class="relative bg-gray-50 dark:bg-gray-900 px-4 py-6 sm:px-6">
1414
<div class="flex items-start justify-between space-x-3">
1515
<div class="space-y-1">
1616
<div v-if="$slots['title']"><slot name="title"></slot></div>

0 commit comments

Comments
 (0)