From 2495ea9264cdb55eaf3a90a338558ea12d7a8844 Mon Sep 17 00:00:00 2001 From: Harald Mack Date: Tue, 20 Aug 2024 16:44:16 +0200 Subject: [PATCH] correct some mistakes --- src/lib/components/Frontpage.svelte | 2 +- src/routes/+page.svelte | 2 +- tailwind.config.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/components/Frontpage.svelte b/src/lib/components/Frontpage.svelte index d0670228..eb3a81f1 100644 --- a/src/lib/components/Frontpage.svelte +++ b/src/lib/components/Frontpage.svelte @@ -7,7 +7,7 @@ const paragraphStyle = 'mb-3 font-normal text-gray-700 dark:text-gray-400 leading-tight'; const arrowStyle = 'ms-2 h-6 w-6 text-white'; const buttonStyle = 'w-fit'; - const galleryStyle = 'grid-cols-2 gap-y-12'; + const galleryStyle = 'grid-cols-1 md:grid-cols-2 gap-y-12'; const cardStyle = 'p-6 m-4 w-full'; diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index f0f95e23..403e4cb3 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -3,6 +3,6 @@ import Frontpage from '$lib/components/Frontpage.svelte'; - + diff --git a/tailwind.config.ts b/tailwind.config.ts index dfa2b6bd..82a96e27 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -8,7 +8,7 @@ export default { './src/**/*.{html,js,svelte,ts}', './node_modules/flowbite-svelte/**/*.{html,js,svelte,ts}' ], - darkMode: 'class', + darkMode: 'selector', theme: { extend: { colors: {