1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 15:11:58 +00:00

chore(web): small cleanup for full screen modal (#12680)

This commit is contained in:
Alex 2024-09-15 11:23:35 -05:00 committed by GitHub
parent e6bc831c97
commit b06ea687b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -80,12 +80,12 @@
class:sm:scroll-p-24={isStickyBottom} class:sm:scroll-p-24={isStickyBottom}
> >
<ModalHeader id={titleId} {title} {showLogo} {icon} {onClose} /> <ModalHeader id={titleId} {title} {showLogo} {icon} {onClose} />
<div class="px-5 pt-0" class:pb-5={isStickyBottom}> <div class="px-5 pt-0">
<slot /> <slot />
</div> </div>
{#if isStickyBottom} {#if isStickyBottom}
<div <div
class="flex flex-col sm:flex-row justify-end w-full gap-2 sm:gap-4 sticky bottom-0 pt-4 px-5 bg-immich-bg dark:bg-immich-dark-gray border-t border-gray-200 dark:border-gray-500 shadow z-[9999]" class="flex flex-col sm:flex-row justify-end w-full gap-2 sm:gap-4 sticky -bottom-[4px] py-2 px-5 bg-immich-bg dark:bg-immich-dark-gray border-t border-gray-200 dark:border-gray-500 shadow z-[9999]"
> >
<slot name="sticky-bottom" /> <slot name="sticky-bottom" />
</div> </div>