Skip to content

Build your personal knowledge base with Trilium Notes

style(next): improve border for pdf notes preview

Elian Dorancda8fc71465f
diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.css
index b18e95a072..c992f7ecbd 100644
--- a/apps/client/src/stylesheets/theme-next/base.css
+++ b/apps/client/src/stylesheets/theme-next/base.css
@@ -454,10 +454,15 @@ body.mobile .dropdown-menu .dropdown-item.submenu-open .dropdown-toggle::after {
font-size: 0.8rem;
}
-.note-list-wrapper .note-book-card .note-book-content:not(.type-image) .rendered-content {
+.note-list-wrapper .note-book-card .note-book-content .rendered-content {
padding: 1rem;
}
+.note-list-wrapper .note-book-card .note-book-content.type-image .rendered-content,
+.note-list-wrapper .note-book-card .note-book-content.type-pdf .rendered-content {
+ padding: 0;
+}
+
.note-list-wrapper .note-book-card .note-book-content .rendered-content.text-with-ellipsis {
padding: 1rem !important;
}