mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-28 02:40:35 +01:00
chore(Slideover): move height to header child
This commit is contained in:
@@ -22,8 +22,8 @@
|
|||||||
leave-to="-translate-x-full"
|
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 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 v-if="$slots.header" class="border-b u-border-gray-200">
|
||||||
<div class="flex items-center justify-between px-4">
|
<div class="flex items-center justify-between px-4 h-16">
|
||||||
<slot name="header" />
|
<slot name="header" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user