fix(Slideover): remove useless padding

This commit is contained in:
Benjamin Canac
2022-03-30 18:29:44 +02:00
parent 7237dcb10f
commit cf021a5888

View File

@@ -22,14 +22,12 @@
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 class="pb-4">
<div class="flex-shrink-0 flex items-center justify-between px-4 h-16 border-b u-border-gray-200"> <div class="flex-shrink-0 flex items-center justify-between px-4 h-16 border-b u-border-gray-200">
<slot name="header" /> <slot name="header" />
</div> </div>
<slot /> <slot />
</div> </div>
</div>
</TransitionChild> </TransitionChild>
</Dialog> </Dialog>
</TransitionRoot> </TransitionRoot>