From 46eddadcb57666704644769360701ce3c8fab69f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Trollb=C3=A4ck?= Date: Mon, 30 Oct 2023 19:42:52 +0100 Subject: [PATCH] Fix sticky figure desc --- src/lib/Figure.svelte | 52 +++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 27 deletions(-) diff --git a/src/lib/Figure.svelte b/src/lib/Figure.svelte index d4d2716..455df41 100644 --- a/src/lib/Figure.svelte +++ b/src/lib/Figure.svelte @@ -33,33 +33,31 @@ {#if $$slots.description || $$slots.source} -
-
- -
- -
- {#if $$slots.source} -
- - Source - - - - -
- -
-
- {/if} - -
+
+ +
+ +
+ {#if $$slots.source} +
+ + Source + + + + +
+ +
+
+ {/if} +
{/if}