Skip to content

Build your personal knowledge base with Trilium Notes

fix(collections/grid): full-width images are too small in preview (closes #9116)

Elian Doran00c493334485
diff --git a/apps/client/src/widgets/collections/legacy/ListOrGridView.css b/apps/client/src/widgets/collections/legacy/ListOrGridView.css
index 4dde39124a..79b11d88cf 100644
--- a/apps/client/src/widgets/collections/legacy/ListOrGridView.css
+++ b/apps/client/src/widgets/collections/legacy/ListOrGridView.css
@@ -364,23 +364,19 @@
mask-repeat: no-repeat;
mask-size: 100% 100%;
}
-
+
.ck-content p {
margin-bottom: 0.5em;
line-height: 1.3;
}
- .ck-content figure.image {
- width: 25%;
- }
-
.ck-content .table {
display: flex;
flex-direction: column-reverse;
overflow-x: scroll;
--scrollbar-thickness: 0;
scrollbar-width: none;
-
+
table {
width: max-content;
table-layout: auto;
@@ -435,4 +431,4 @@
}
}
-/* #endregion */
\ No newline at end of file
+/* #endregion */