From 7734fb45f5b36e4e6bcdd0f2555009e7a0656bd5 Mon Sep 17 00:00:00 2001 From: Sveske_Juice Date: Sat, 24 Feb 2024 00:17:11 +0100 Subject: [PATCH] fix button collider --- src/lib/IO/Button.svelte | 17 +++++++++++------ src/routes/+page.svelte | 10 ++-------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/src/lib/IO/Button.svelte b/src/lib/IO/Button.svelte index 91d80c3..a2bfdc0 100644 --- a/src/lib/IO/Button.svelte +++ b/src/lib/IO/Button.svelte @@ -2,6 +2,7 @@ import { ButtonType } from "$lib/IO/ButtonType.ts"; import { onMount } from "svelte"; + export let href : string = "#"; export let type : ButtonType = ButtonType.Primary; let cssName : string; @@ -16,17 +17,17 @@ }); - + diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index dcec166..2ae4756 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -39,10 +39,8 @@ @@ -98,10 +96,6 @@ min-width: 10em; } - a { - white-space: nowrap; - } - .main-title { color: var(--text1); margin: 0 auto;