From 624dbffc5f2f8bb1b2992555f582f3ee68fc22d1 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Thu, 17 Mar 2022 12:32:24 +0100 Subject: [PATCH] overview width --- src/lib/components/ArticleOverview.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/components/ArticleOverview.svelte b/src/lib/components/ArticleOverview.svelte index 1dde117..834d1c8 100644 --- a/src/lib/components/ArticleOverview.svelte +++ b/src/lib/components/ArticleOverview.svelte @@ -34,7 +34,7 @@ position: absolute; top: 0; left: 40rem; - width: max-content; + width: calc(100vw - 51rem); } } @@ -47,7 +47,7 @@ a { height: 1.4em; display: inline-block; - max-width: 20rem; + max-width: calc(100% - 1.5rem); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;