Skip to content

Build your personal knowledge base with Trilium Notes

fix(client): show the hint of a disabled checkbox

Elian Doran30351a204cdb
diff --git a/apps/client/src/stylesheets/menus.css b/apps/client/src/stylesheets/menus.css
index f337dd60ff..ac925e2c50 100644
--- a/apps/client/src/stylesheets/menus.css
+++ b/apps/client/src/stylesheets/menus.css
@@ -67,7 +67,7 @@ body.desktop .tabulator-popup-container,
color: var(--muted-text-color);
}
-.dropdown-menu .disabled {
+.dropdown-menu .disabled:not(.form-checkbox) {
color: #888 !important;
pointer-events: none;
}
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 73d5369745..ee85d3cb1f 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -208,12 +208,15 @@ textarea,
color: var(--muted-text-color);
}
-.form-group.disabled,
-.form-checkbox.disabled {
+.form-group.disabled {
opacity: 0.5;
pointer-events: none;
}
+.form-checkbox.disabled {
+ opacity: 0.5;
+}
+
.form-group {
margin-bottom: 15px;
}