From 282bccaca52e79c8c6e39d8ef5d6828c7aeb4d52 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 2 Apr 2024 14:09:55 -0500 Subject: [PATCH] chore(web): fine tuning styling for base modal (#8469) * chore(web): refine base modal styling * styling * remove api spec file --- .../components/shared-components/base-modal.svelte | 12 +++++------- .../create-shared-link-modal.svelte | 4 ++-- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/web/src/lib/components/shared-components/base-modal.svelte b/web/src/lib/components/shared-components/base-modal.svelte index 4ffc91368f..c09653d6eb 100644 --- a/web/src/lib/components/shared-components/base-modal.svelte +++ b/web/src/lib/components/shared-components/base-modal.svelte @@ -61,19 +61,17 @@ onOutclick: () => dispatch('close'), onEscape: () => dispatch('close'), }} - class="max-h-[800px] min-h-[200px] w-[450px] overflow-y-auto rounded-lg bg-immich-bg shadow-md dark:bg-immich-dark-gray dark:text-immich-dark-fg immich-scrollbar" + class="max-h-[800px] min-h-[200px] w-[450px] overflow-y-auto rounded-3xl bg-immich-bg shadow-md dark:bg-immich-dark-gray dark:text-immich-dark-fg immich-scrollbar" tabindex="-1" >
-
+
{#if showLogo} - -
+ {:else if icon} - -
+ {/if} -

+

{title}

diff --git a/web/src/lib/components/shared-components/create-share-link-modal/create-shared-link-modal.svelte b/web/src/lib/components/shared-components/create-share-link-modal/create-shared-link-modal.svelte index fcc7c792f0..9e05af6256 100644 --- a/web/src/lib/components/shared-components/create-share-link-modal/create-shared-link-modal.svelte +++ b/web/src/lib/components/shared-components/create-share-link-modal/create-shared-link-modal.svelte @@ -237,11 +237,11 @@ {#if !sharedLink} {#if editingLink}
- +
{:else}
- +
{/if} {:else}