From 0ff04937deb38e69cedd5045df10fb67c162badb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93lafur=20Bjarki=20Bogason?= Date: Thu, 2 Mar 2023 15:18:17 -0600 Subject: [PATCH] Remove redundant div causing cumulative layout shifts... --- src/app.html | 2 +- src/routes/+page.svelte | 33 +++++++++++++++++++-------------- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/src/app.html b/src/app.html index eca403767..edee2a7a1 100644 --- a/src/app.html +++ b/src/app.html @@ -1,5 +1,5 @@ - + diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 1f0caef8a..0e2327db9 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -5,7 +5,7 @@ export let data: PageData const today = `Í dag, ${new Date() - .toLocaleDateString('is-IS', { + .toLocaleString('is-is', { weekday: 'long', year: 'numeric', month: 'long', @@ -60,18 +60,23 @@
-
- -
- - -
+
+ +
@@ -106,7 +111,7 @@ {title} ({release_year})
- {title} + {title}
{genres.join(', ')}. Sjá stiklu.