mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-18 00:02:28 +08:00
client: mark some links to use the new style
This commit is contained in:
parent
9a84dec222
commit
8a51f05bf4
@ -15,18 +15,18 @@ const TPL = `
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.attachment-detail .links-wrapper {
|
.attachment-detail .links-wrapper {
|
||||||
font-size: larger;
|
font-size: larger;
|
||||||
padding: 0 0 16px 0;
|
padding: 0 0 16px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.attachment-detail .attachment-wrapper {
|
.attachment-detail .attachment-wrapper {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div class="links-wrapper"></div>
|
<div class="links-wrapper use-tn-links"></div>
|
||||||
|
|
||||||
<div class="attachment-wrapper"></div>
|
<div class="attachment-wrapper"></div>
|
||||||
</div>`;
|
</div>`;
|
||||||
@ -57,7 +57,7 @@ export default class AttachmentDetailTypeWidget extends TypeWidget {
|
|||||||
|
|
||||||
this.$linksWrapper.empty().append(
|
this.$linksWrapper.empty().append(
|
||||||
t("attachment_detail.owning_note"),
|
t("attachment_detail.owning_note"),
|
||||||
await linkService.createLink(this.noteId),
|
(await linkService.createLink(this.noteId)),
|
||||||
t("attachment_detail.you_can_also_open"),
|
t("attachment_detail.you_can_also_open"),
|
||||||
await linkService.createLink(this.noteId, {
|
await linkService.createLink(this.noteId, {
|
||||||
title: t("attachment_detail.list_of_all_attachments"),
|
title: t("attachment_detail.list_of_all_attachments"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user