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(collections/dashboard): improve title
Elian Doran9cf77b98f761
diff --git a/apps/client/src/widgets/collections/dashboard/index.css b/apps/client/src/widgets/collections/dashboard/index.cssindex 9fd23f7b7e..563479e708 100644--- a/apps/client/src/widgets/collections/dashboard/index.css+++ b/apps/client/src/widgets/collections/dashboard/index.css@@ -68,10 +68,9 @@cursor: default;}+ /* Layout, title color and ellipsis are shared with the grid/list card header+ (.note-book-header) in ListOrGridView.css; only dashboard-specific chrome lives here. */.dashboard-widget-header {- display: flex;- align-items: center;- gap: 8px;padding: 0.45rem 0.5rem 0.45rem 0.85rem;cursor: grab;border-bottom: 1px solid var(--card-border-color, var(--main-border-color));@@ -79,13 +78,10 @@.tn-icon + span {flex-grow: 1;- }- .note-book-title {- overflow: hidden;- text-overflow: ellipsis;- white-space: nowrap;- font-weight: 500;+ a {+ font-weight: 500;+ }}}diff --git a/apps/client/src/widgets/collections/legacy/ListOrGridView.css b/apps/client/src/widgets/collections/legacy/ListOrGridView.cssindex 7a57e13985..549dbced48 100644--- a/apps/client/src/widgets/collections/legacy/ListOrGridView.css+++ b/apps/client/src/widgets/collections/legacy/ListOrGridView.css@@ -26,7 +26,8 @@/* #region List view / Grid view common styles */.nested-note-list-item h5,-.note-book-card .note-book-header {+.note-book-card .note-book-header,+.dashboard-widget-header {display: flex;align-items: center;font-size: 1em;@@ -195,7 +196,8 @@}.nested-note-list:not(.search-results) h5,-.note-book-card:not(.search-results) h5 {+.note-book-card:not(.search-results) h5,+.dashboard-widget-header {span.tn-icon + span,.note-list-attributes {white-space: nowrap;