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
refactor(sort): size the sort dialog with a single max-width
Elian Doranb928228c1c49
diff --git a/apps/client/src/widgets/dialogs/sort_child_notes.css b/apps/client/src/widgets/dialogs/sort_child_notes.cssindex 160c47fb3f..2d421e2155 100644--- a/apps/client/src/widgets/dialogs/sort_child_notes.css+++ b/apps/client/src/widgets/dialogs/sort_child_notes.css@@ -1,14 +1,7 @@.modal.sort-child-notes-dialog {- /* The criteria rows set the dialog's width; the prose wraps to it rather than widening it. */- :where(body:not(.mobile)) & .modal-dialog {- width: fit-content;- min-width: 440px;- max-width: 680px;- }-- .modal-body > :not(.sort-criteria),- .sort-levels-description {- contain: inline-size;+ /* Room for a criteria row: the kind select, a label name, the direction and the row buttons. */+ .modal-dialog {+ max-width: 600px;}.sort-criteria {