Skip to content

Build your personal knowledge base with Trilium Notes

ui/grid view: tweak style

Adorian Doran75c7d55e016b
diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.css
index f7d65c765f..995e796d73 100644
--- a/apps/client/src/stylesheets/theme-next/base.css
+++ b/apps/client/src/stylesheets/theme-next/base.css
@@ -678,34 +678,6 @@ li.dropdown-item a.dropdown-item-button:focus-visible {
color: inherit !important;
}
-.note-list-wrapper .note-book-card .note-book-header {
- font-size: 1em;
- font-weight: bold;
- padding: 0.5em 1rem;
- border-bottom-color: var(--card-border-color);
-}
-
-.note-list-wrapper .note-book-card .note-book-header .note-icon {
- font-size: 17px;
- vertical-align: text-bottom;
-}
-
-.note-list-wrapper .note-book-card .note-book-header .note-book-title {
- font-size: 1em;
- color: var(--active-item-text-color);
- vertical-align: middle;
-}
-
-.note-list-wrapper .note-book-card .note-book-header .rendered-note-attributes {
- font-size: 0.7em;
- font-weight: normal;
- margin-bottom: 0;
-}
-
-.note-list-wrapper .note-book-card .note-book-header:last-child {
- border-bottom: 0;
-}
-
.note-list-wrapper .note-book-card .note-book-content {
padding: 0 !important;
font-size: 0.8rem;
diff --git a/apps/client/src/widgets/collections/legacy/ListOrGridView.css b/apps/client/src/widgets/collections/legacy/ListOrGridView.css
index 3fac974358..3e151d79bf 100644
--- a/apps/client/src/widgets/collections/legacy/ListOrGridView.css
+++ b/apps/client/src/widgets/collections/legacy/ListOrGridView.css
@@ -309,10 +309,16 @@
/* #region Grid view */
.note-book-card {
- h5 {
+ .note-book-header {
+ padding: .5em 1em;
+ padding-inline-end: 8px;
+ border-bottom-color: var(--card-border-color);
.tn-icon + span {
flex-grow: 1;
+ a {
+ font-weight: 500;
+ }
}
}