Merge branch 'main' of https://github.com/immich-app/immich into fix/modal-sticky-bottom

This commit is contained in:
ben-basten
2024-09-15 19:16:30 -04:00
6 changed files with 881 additions and 6 deletions
@@ -76,13 +76,13 @@
>
<div class="immich-scrollbar overflow-y-auto max-h-[min(85dvh,44rem)] py-1">
<ModalHeader id={titleId} {title} {showLogo} {icon} {onClose} />
<div class="px-5 pt-0" class:pb-5={isStickyBottom}>
<div class="px-5 pt-0">
<slot />
</div>
</div>
{#if isStickyBottom}
<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"
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"
>
<slot name="sticky-bottom" />
</div>