Skip to content

Build your personal knowledge base with Trilium Notes

fix(attachments): card overflows for some content previews

Elian Doran2c99c15fb765
diff --git a/apps/client/src/widgets/type_widgets/Attachment.css b/apps/client/src/widgets/type_widgets/Attachment.css
index b3ab032c33..06372b5892 100644
--- a/apps/client/src/widgets/type_widgets/Attachment.css
+++ b/apps/client/src/widgets/type_widgets/Attachment.css
@@ -51,6 +51,7 @@
/* Overrides the height:100% the widget carries for the full-detail page, where it is the pane. */
height: auto;
max-height: 300px;
+ min-width: 0;
body.mobile & {
flex-basis: 150px;