From 9dc1c856d0ad0ba3d19e871a8f8c174770bae548 Mon Sep 17 00:00:00 2001 From: arkohut <39525455+arkohut@users.noreply.github.com> Date: Thu, 31 Oct 2024 19:09:18 +0800 Subject: [PATCH] feat(web): update figure info style --- web/src/lib/Figure.svelte | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/web/src/lib/Figure.svelte b/web/src/lib/Figure.svelte index 9750a61..cd9a29a 100644 --- a/web/src/lib/Figure.svelte +++ b/web/src/lib/Figure.svelte @@ -12,7 +12,7 @@ Library, Folder, FileClock, - Info + IndentIncrease } from 'lucide-svelte'; import { translateAppName } from '$lib/utils'; import LucideIcon from '$lib/components/LucideIcon.svelte'; @@ -162,20 +162,26 @@
-
- -

{title}

-
-
- {#if showDetails} +
+
+
+
+ +

{title}

+
+
- {/if} +
+
@@ -223,22 +229,14 @@
{/if} -
- +
+ {title} - {#if !showDetails} - - {/if}
{#if !showDetails}