Skip to content

Build your personal knowledge base with Trilium Notes

fix(attachment): duplicate padding in code blocks

Elian Doran6772453b3a27
diff --git a/apps/client/src/widgets/type_widgets/Attachment.css b/apps/client/src/widgets/type_widgets/Attachment.css
index f6cdf7e293..81ecd349c5 100644
--- a/apps/client/src/widgets/type_widgets/Attachment.css
+++ b/apps/client/src/widgets/type_widgets/Attachment.css
@@ -63,6 +63,7 @@
.attachment-detail-wrapper.list-view .attachment-content-wrapper pre {
max-height: 400px;
+ padding: 0;
}
.attachment-content-wrapper img {