Skip to content

Build your personal knowledge base with Trilium Notes

client: mark some links to use the new style

Adorian Doran8a51f05bf4ef
diff --git a/src/public/app/widgets/type_widgets/attachment_detail.js b/src/public/app/widgets/type_widgets/attachment_detail.js
index 2a797fba50..15932d63bb 100644
--- a/src/public/app/widgets/type_widgets/attachment_detail.js
+++ b/src/public/app/widgets/type_widgets/attachment_detail.js
@@ -15,18 +15,18 @@ const TPL = `
display: flex;
flex-direction: column;
}
-
+
.attachment-detail .links-wrapper {
font-size: larger;
padding: 0 0 16px 0;
}
-
+
.attachment-detail .attachment-wrapper {
flex-grow: 1;
}
</style>
- <div class="links-wrapper"></div>
+ <div class="links-wrapper use-tn-links"></div>
<div class="attachment-wrapper"></div>
</div>`;
@@ -57,7 +57,7 @@ export default class AttachmentDetailTypeWidget extends TypeWidget {
this.$linksWrapper.empty().append(
t("attachment_detail.owning_note"),
- await linkService.createLink(this.noteId),
+ (await linkService.createLink(this.noteId)),
t("attachment_detail.you_can_also_open"),
await linkService.createLink(this.noteId, {
title: t("attachment_detail.list_of_all_attachments"),