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
fix(next): let a promoted flag's checkbox stay inside the label it is drawn on
Elian Dorane1a83b243bbe
diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.cssindex 4ee9433785..f24c79311a 100644--- a/apps/client/src/stylesheets/theme-next/shell.css+++ b/apps/client/src/stylesheets/theme-next/shell.css@@ -1579,13 +1579,18 @@ div.promoted-attribute-cell span.open-external-link-button {}div.promoted-attribute-cell .tn-checkbox {- --box-label-gap: 0;+ --box-label-gap: 0px;- height: 1cap;+ height: 1em;+ vertical-align: calc((1cap - 1em) / 2);+}++div.promoted-attribute-cell .tn-checkbox > input[type="checkbox"] {+ width: var(--box-size) !important;}div.promoted-attribute-cell.promoted-attribute-label-boolean > div:first-of-type {- margin-inline-end: 1.5em;+ margin-inline-end: 0.5em;}/* The element containing the "new attribute" and "remove this attribute button" */