Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
style(attachment): basic attachment card design
Elian Doran276241cdffd5
diff --git a/apps/client/src/widgets/type_widgets/Attachment.css b/apps/client/src/widgets/type_widgets/Attachment.cssindex 81ecd349c5..19c5757a28 100644--- a/apps/client/src/widgets/type_widgets/Attachment.css+++ b/apps/client/src/widgets/type_widgets/Attachment.css@@ -24,9 +24,18 @@flex-direction: column;}+.attachment-title {+ font-size: 1.1rem;+ margin: 0;++ a {+ color: inherit !important;+ }+}+.attachment-title-line {display: flex;- align-items: baseline;+ align-items: center;gap: 1em;}@@ -61,6 +70,13 @@height: 100%;}+.attachment-detail-wrapper.list-view {+ border-radius: 12px;+ background-color: var(--card-background-color);+ padding: 0 6px;+ box-shadow: var(--card-box-shadow);+}+.attachment-detail-wrapper.list-view .attachment-content-wrapper pre {max-height: 400px;padding: 0;