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/options: tweak
Adorian Doran1f4da60a5e49
diff --git a/apps/client/src/widgets/dialogs/OptionsDialog.css b/apps/client/src/widgets/dialogs/OptionsDialog.cssindex 0966ffeda0..13491ab39c 100644--- a/apps/client/src/widgets/dialogs/OptionsDialog.css+++ b/apps/client/src/widgets/dialogs/OptionsDialog.css@@ -109,6 +109,30 @@ body.mobile .modal.options-dialog.mobile-master-detail {.dropdown-menu.static {padding-block: 0;}++ /* A page in this list is somewhere to go rather than a line of a menu: it is given a+ thumb's worth of height and its name carries a little more weight. The padding is a+ floor under a name that wraps, held in `em` so it keeps up with the reading size; the+ row itself is centred, so on one line the height is all that is felt. */+ .dropdown-item {+ min-height: 40px;+ --menu-item-vertical-padding: 0.35em;+ font-weight: 500;+ }++ /* The row centres what it holds, so the mark wants no nudge of its own: the -2px the theme+ gives a menu item is undone here, `FormList` carrying no `tn-dropdown-menu` class to take+ the theme's own zero. `line-height` boxes the glyph so the centring lands on the mark+ rather than on the leading around it. */+ .dropdown-item .tn-icon {+ --menu-item-icon-vert-offset: 0;+ /* Half of the 8px wanted between the mark and the name: `FormListItem` writes an+ ` ` after the icon, which merges into the name's own text run and so can be+ neither selected nor removed from here. It stands for the other half. */+ margin-inline-end: 4px;+ font-size: 1.4em;+ line-height: 1;+ }}/* Held to the same margin whatever the page: its own is a desktop measure, and in the olddiff --git a/apps/client/src/widgets/react/Card.css b/apps/client/src/widgets/react/Card.cssindex cac04106f8..e07bf3f30f 100644--- a/apps/client/src/widgets/react/Card.css+++ b/apps/client/src/widgets/react/Card.css@@ -185,7 +185,7 @@ body[dir=rtl] .tn-card-option::after {/* On a narrow card the name reads as a field label, set apart by weight rather than by size.Every row gets it, or a card would mix two kinds of label between its rows. */.tn-card-option-title {- font-weight: 600;+ font-weight: 500;}/* Set here rather than on the card, which a query cannot reach from inside itself. Half the