add: better checkboxes
This commit is contained in:
parent
0ae64de989
commit
5fbf454b52
5 changed files with 45 additions and 2 deletions
|
@ -919,7 +919,7 @@ media_theme_pref();
|
|||
}
|
||||
|
||||
if (option.input_element_type === "checkbox") {
|
||||
into_element.innerHTML += `<div class="card flex gap-2">
|
||||
into_element.innerHTML += `<div class="card flex items-center gap-2">
|
||||
<input
|
||||
type="checkbox"
|
||||
onchange="window.set_setting_field${id_key}('${option.key}', event.target.checked)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue