mirror of
https://github.com/wukko/cobalt.git
synced 2025-02-26 21:18:50 +01:00
web/SettingsInput: add missing button classes
This commit is contained in:
parent
20c45823ee
commit
010dfff672
1 changed files with 4 additions and 4 deletions
|
@ -102,7 +102,7 @@
|
|||
|
||||
{#if inputValue.length > 0}
|
||||
<button
|
||||
class="input-inner-button"
|
||||
class="button input-inner-button"
|
||||
on:click={() => {
|
||||
inputValue = "";
|
||||
checkInput();
|
||||
|
@ -114,7 +114,7 @@
|
|||
|
||||
{#if sensitive}
|
||||
<button
|
||||
class="input-inner-button"
|
||||
class="button input-inner-button"
|
||||
on:click={() => (inputHidden = !inputHidden)}
|
||||
aria-label={$t(
|
||||
inputHidden ? "button.show_input" : "button.hide_input"
|
||||
|
@ -136,7 +136,7 @@
|
|||
|
||||
{#if String($settings[settingContext][settingId]).length > 0}
|
||||
<button
|
||||
class="input-inner-button"
|
||||
class="button input-inner-button"
|
||||
on:click={() => {
|
||||
inputValue = String($settings[settingContext][settingId]);
|
||||
checkInput();
|
||||
|
@ -151,7 +151,7 @@
|
|||
|
||||
<div id="settings-input-buttons">
|
||||
<button
|
||||
class="settings-input-button"
|
||||
class="button settings-input-button"
|
||||
aria-label={$t("button.save")}
|
||||
disabled={inputValue === $settings[settingContext][settingId] || !validInput}
|
||||
on:click={save}
|
||||
|
|
Loading…
Reference in a new issue