From 46942a36b3f2a253353a53bbe6a7a7c6c43f7792 Mon Sep 17 00:00:00 2001 From: wukko Date: Mon, 19 May 2025 20:05:35 +0600 Subject: [PATCH] web/SettingsInput: make input box fully clickable, fix radius of buttons radius & inner padding on right were 1px off >:( --- .../components/settings/SettingsInput.svelte | 38 +++++++++++-------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/web/src/components/settings/SettingsInput.svelte b/web/src/components/settings/SettingsInput.svelte index 90802e42..802b2159 100644 --- a/web/src/components/settings/SettingsInput.svelte +++ b/web/src/components/settings/SettingsInput.svelte @@ -62,7 +62,7 @@ } else { validInput = new RegExp(regex[type]).test(inputValue); } - } + }; const writeToSettings = (value: string, type: SettingsInputType) => { // we assume that the url is valid and error can't be thrown here @@ -93,11 +93,7 @@
-
+
(inputHidden = !inputHidden)} aria-label={$t( - inputHidden ? "button.show_input" : "button.hide_input" + inputHidden + ? "button.show_input" + : "button.hide_input" )} > {#if inputHidden} @@ -156,7 +154,9 @@
-
+