From 331843bf02046cf66bb3c4fa829ad8a96d5937f4 Mon Sep 17 00:00:00 2001 From: Sachsenspielt Date: Sun, 2 Jul 2023 19:18:54 +0200 Subject: [PATCH] fix: some wrapping issues fixed --- src/components/News/ArticlePreview.svelte | 2 +- src/components/News/MetadataDisplay.svelte | 20 +++++++++++--------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/components/News/ArticlePreview.svelte b/src/components/News/ArticlePreview.svelte index ce59769..bd0ad28 100644 --- a/src/components/News/ArticlePreview.svelte +++ b/src/components/News/ArticlePreview.svelte @@ -17,7 +17,7 @@ class="h-full w-full rounded-[30px] object-cover" />
-
+
{article.title} diff --git a/src/components/News/MetadataDisplay.svelte b/src/components/News/MetadataDisplay.svelte index caeef63..fdd46f2 100644 --- a/src/components/News/MetadataDisplay.svelte +++ b/src/components/News/MetadataDisplay.svelte @@ -1,20 +1,22 @@ -
+
- {#if href} - +
+ {#if href} + + {text} + + {:else} {text} - - {:else} - {text} - {/if} + {/if} +