Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
style(client): fix checkboxes override causing issues for canvas (closes #6463)
Elian Doran4d73cdefef54
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.cssindex 1a527bf5ca..2296166f2f 100644--- a/apps/client/src/stylesheets/style.css+++ b/apps/client/src/stylesheets/style.css@@ -139,12 +139,6 @@ textarea,color: var(--muted-text-color);}-/* Restore default apperance */-input[type="number"],-input[type="checkbox"] {- appearance: auto !important;-}-/* Add a gap between consecutive radios / check boxes */label.tn-radio + label.tn-radio,label.tn-checkbox + label.tn-checkbox {diff --git a/apps/client/src/widgets/ribbon_widgets/promoted_attributes.ts b/apps/client/src/widgets/ribbon_widgets/promoted_attributes.tsindex 523bfe9035..8895d5e42c 100644--- a/apps/client/src/widgets/ribbon_widgets/promoted_attributes.ts+++ b/apps/client/src/widgets/ribbon_widgets/promoted_attributes.ts@@ -53,12 +53,19 @@ const TPL = /*html*/`word-break:keep-all;white-space: nowrap;}+.promoted-attribute-cell input[type="checkbox"] {width: 22px !important;flex-grow: 0;width: unset;}+ /* Restore default apperance */+ .promoted-attribute-cell input[type="number"],+ .promoted-attribute-cell input[type="checkbox"] {+ appearance: auto;+ }+</style><div class="promoted-attributes-container"></div>