Skip to content

Build your personal knowledge base with Trilium Notes

style(attachment): fix margin for code blocks

Elian Doranafeaf5183128
diff --git a/apps/client/src/widgets/type_widgets/Attachment.css b/apps/client/src/widgets/type_widgets/Attachment.css
index c618a26e29..0c5c05b4a8 100644
--- a/apps/client/src/widgets/type_widgets/Attachment.css
+++ b/apps/client/src/widgets/type_widgets/Attachment.css
@@ -58,8 +58,7 @@
.attachment-content-wrapper pre {
padding: 10px;
- margin-top: 10px;
- margin-bottom: 10px;
+ margin: 0;
}
.attachment-detail-wrapper.list-view .attachment-content-wrapper {