Skip to content

Build your personal knowledge base with Trilium Notes

fix(forms): keep the input background on disabled selects

Elian Doran13ec37ef8cdd
diff --git a/apps/client/src/stylesheets/theme-next/forms.css b/apps/client/src/stylesheets/theme-next/forms.css
index 98d8f23ca2..6076693501 100644
--- a/apps/client/src/stylesheets/theme-next/forms.css
+++ b/apps/client/src/stylesheets/theme-next/forms.css
@@ -555,6 +555,14 @@ select.form-control:focus,
outline-offset 200ms ease-out;
}
+select:disabled,
+select.form-select:disabled,
+select.form-control:disabled {
+ background: var(--input-background-color) var(--dropdown-arrow);
+ color: var(--input-text-color);
+ opacity: 0.65;
+}
+
option {
color: var(--select-dropdown-text-color);
}