chore(Slideover): move height to header child

This commit is contained in:
Benjamin Canac
2022-03-30 18:42:15 +02:00
parent 564ae86d63
commit 065d3691ac

View File

@@ -22,8 +22,8 @@
leave-to="-translate-x-full"
>
<div class="relative flex-1 flex flex-col w-full max-w-md u-bg-white focus:outline-none">
<div v-if="$slots.header" class="h-16 border-b u-border-gray-200">
<div class="flex items-center justify-between px-4">
<div v-if="$slots.header" class="border-b u-border-gray-200">
<div class="flex items-center justify-between px-4 h-16">
<slot name="header" />
</div>
</div>