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
feat(text): keep the @ list at full width on phones
Elian Doran1c13dacbca1d
diff --git a/apps/client/src/widgets/react/NoteAutocomplete.css b/apps/client/src/widgets/react/NoteAutocomplete.cssindex 2db8ff574a..5d84359c80 100644--- a/apps/client/src/widgets/react/NoteAutocomplete.css+++ b/apps/client/src/widgets/react/NoteAutocomplete.css@@ -59,6 +59,13 @@max-width: min(600px, calc(100vw - 10px));}+/* `NARROW_LAYOUT` in services/utils.ts. */+@media (max-width: 991px) {+ body.mobile .note-autocomplete-menu.note-mention-menu {+ width: calc(100vw - 10px);+ }+}+.note-autocomplete-menu .dropdown-item {/* Outranks Bootstrap's `nowrap`, so a long note path wraps within the list's width. */white-space: normal;