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): improve paddings & margins, remove scroll for image
Elian Doran27c3d4da3c4e
diff --git a/apps/client/src/widgets/type_widgets/Attachment.css b/apps/client/src/widgets/type_widgets/Attachment.cssindex ed0ab5f792..c618a26e29 100644--- a/apps/client/src/widgets/type_widgets/Attachment.css+++ b/apps/client/src/widgets/type_widgets/Attachment.css@@ -78,7 +78,7 @@.attachment-detail-wrapper.list-view {border-radius: 12px;background-color: var(--card-background-color);- padding: 6px 6px 0 6px;+ padding: 6px;box-shadow: var(--card-box-shadow);}@@ -87,10 +87,6 @@padding: 0;}-.attachment-content-wrapper img {- margin: 10px;-}-.attachment-detail-wrapper.list-view .attachment-content-wrapper img, .attachment-detail-wrapper.list-view .attachment-content-wrapper video {max-height: 300px;max-width: 90%;@@ -107,7 +103,7 @@}.attachment-detail-wrapper .attachment-deletion-warning {- margin-top: 15px;+ margin: 0.5em 0;}/* #endregion */