Skip to content

Build your personal knowledge base with Trilium Notes

style(attachment): code block cuts off card

Elian Doraneceb7179b8fe
diff --git a/apps/client/src/widgets/type_widgets/Attachment.css b/apps/client/src/widgets/type_widgets/Attachment.css
index 19c5757a28..cab6290713 100644
--- a/apps/client/src/widgets/type_widgets/Attachment.css
+++ b/apps/client/src/widgets/type_widgets/Attachment.css
@@ -22,12 +22,13 @@
margin-bottom: 20px;
display: flex;
flex-direction: column;
+ overflow: hidden;
}
.attachment-title {
font-size: 1.1rem;
margin: 0;
-
+
a {
color: inherit !important;
}
@@ -72,7 +73,7 @@
.attachment-detail-wrapper.list-view {
border-radius: 12px;
- background-color: var(--card-background-color);
+ background-color: var(--card-background-color);
padding: 0 6px;
box-shadow: var(--card-box-shadow);
}
@@ -152,4 +153,4 @@
background-color: transparent !important;
pointer-events: none; /* makes it unclickable */
}
-/* #endregion */
\ No newline at end of file
+/* #endregion */