Skip to content

Build your personal knowledge base with Trilium Notes

decreased padding

zadam59de1925a9b9
diff --git a/src/public/app/widgets/type_widgets/attachment_detail.js b/src/public/app/widgets/type_widgets/attachment_detail.js
index 2140e8821d..fbc38e5615 100644
--- a/src/public/app/widgets/type_widgets/attachment_detail.js
+++ b/src/public/app/widgets/type_widgets/attachment_detail.js
@@ -8,7 +8,8 @@ const TPL = `
<div class="attachment-detail note-detail-printable">
<style>
.attachment-detail {
- padding: 15px;
+ padding-left: 15px;
+ padding-right: 15px;
height: 100%;
display: flex;
flex-direction: column;
@@ -16,7 +17,7 @@ const TPL = `
.attachment-detail .links-wrapper {
font-size: larger;
- padding: 16px 0 16px 0;
+ padding: 0 0 16px 0;
}
.attachment-detail .attachment-wrapper {
diff --git a/src/public/app/widgets/type_widgets/attachment_list.js b/src/public/app/widgets/type_widgets/attachment_list.js
index 0e9b1e5a42..6b7ea02598 100644
--- a/src/public/app/widgets/type_widgets/attachment_list.js
+++ b/src/public/app/widgets/type_widgets/attachment_list.js
@@ -7,7 +7,8 @@ const TPL = `
<div class="attachment-list note-detail-printable">
<style>
.attachment-list {
- padding: 15px;
+ padding-left: 15px;
+ padding-right: 15px;
}
.attachment-list .links-wrapper {