mirror of
https://github.com/wukko/cobalt.git
synced 2025-02-27 05:28:49 +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}
|
{#if inputValue.length > 0}
|
||||||
<button
|
<button
|
||||||
class="input-inner-button"
|
class="button input-inner-button"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
inputValue = "";
|
inputValue = "";
|
||||||
checkInput();
|
checkInput();
|
||||||
|
@ -114,7 +114,7 @@
|
||||||
|
|
||||||
{#if sensitive}
|
{#if sensitive}
|
||||||
<button
|
<button
|
||||||
class="input-inner-button"
|
class="button input-inner-button"
|
||||||
on:click={() => (inputHidden = !inputHidden)}
|
on:click={() => (inputHidden = !inputHidden)}
|
||||||
aria-label={$t(
|
aria-label={$t(
|
||||||
inputHidden ? "button.show_input" : "button.hide_input"
|
inputHidden ? "button.show_input" : "button.hide_input"
|
||||||
|
@ -136,7 +136,7 @@
|
||||||
|
|
||||||
{#if String($settings[settingContext][settingId]).length > 0}
|
{#if String($settings[settingContext][settingId]).length > 0}
|
||||||
<button
|
<button
|
||||||
class="input-inner-button"
|
class="button input-inner-button"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
inputValue = String($settings[settingContext][settingId]);
|
inputValue = String($settings[settingContext][settingId]);
|
||||||
checkInput();
|
checkInput();
|
||||||
|
@ -151,7 +151,7 @@
|
||||||
|
|
||||||
<div id="settings-input-buttons">
|
<div id="settings-input-buttons">
|
||||||
<button
|
<button
|
||||||
class="settings-input-button"
|
class="button settings-input-button"
|
||||||
aria-label={$t("button.save")}
|
aria-label={$t("button.save")}
|
||||||
disabled={inputValue === $settings[settingContext][settingId] || !validInput}
|
disabled={inputValue === $settings[settingContext][settingId] || !validInput}
|
||||||
on:click={save}
|
on:click={save}
|
||||||
|
|
Loading…
Reference in a new issue