From 3cb8f54307b386ac546039f9ac463538401fc155 Mon Sep 17 00:00:00 2001 From: martin <74269598+martabal@users.noreply.github.com> Date: Tue, 2 Apr 2024 05:11:11 +0200 Subject: [PATCH] fix(web): asset description resize (#8442) * fix: asset description resize * use immich-scrollbar class --------- Co-authored-by: Alex Tran --- web/src/lib/components/asset-viewer/detail-panel.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/lib/components/asset-viewer/detail-panel.svelte b/web/src/lib/components/asset-viewer/detail-panel.svelte index 318007280f..565bca401c 100644 --- a/web/src/lib/components/asset-viewer/detail-panel.svelte +++ b/web/src/lib/components/asset-viewer/detail-panel.svelte @@ -200,7 +200,7 @@ disabled={!isOwner || isSharedLink()} bind:this={textArea} class="max-h-[500px] - w-full resize-none overflow-hidden border-b border-gray-500 bg-transparent text-base text-black outline-none transition-all focus:border-b-2 focus:border-immich-primary disabled:border-none dark:text-white dark:focus:border-immich-dark-primary" + w-full resize-none border-b border-gray-500 bg-transparent text-base text-black outline-none transition-all focus:border-b-2 focus:border-immich-primary disabled:border-none dark:text-white dark:focus:border-immich-dark-primary immich-scrollbar" placeholder={isOwner ? 'Add a description' : ''} on:focusout={handleFocusOut} on:input={() => autoGrowHeight(textArea)}