Skip to content

Commit

Permalink
make SlideOver header relative to prevent close button from scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Sep 4, 2024
1 parent 8df79f2 commit 480506c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SlideOver.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

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

0 comments on commit 480506c

Please sign in to comment.