client: mark the links that should use the new style

This commit is contained in:
Adorian Doran 2025-01-24 10:49:14 +02:00
parent 03e7f4b991
commit b43c85157b
2 changed files with 9 additions and 9 deletions

View File

@ -11,28 +11,28 @@ const TPL = `
max-height: 300px;
overflow-y: auto;
}
.note-path-list {
margin-top: 10px;
}
.note-path-list .path-current {
font-weight: bold;
}
.note-path-list .path-archived {
color: var(--muted-text-color) !important;
}
.note-path-list .path-search {
font-style: italic;
}
</style>
<div class="note-path-intro"></div>
<ul class="note-path-list"></ul>
<button class="btn btn-sm" data-trigger-command="cloneNoteIdsTo">${t("note_paths.clone_button")}</button>
</div>`;
@ -95,7 +95,7 @@ export default class NotePathsWidget extends NoteContextAwareWidget {
const $noteLink = await linkService.createLink(notePath, { title });
$noteLink.find("a").addClass("no-tooltip-preview");
$noteLink.find("a").addClass("no-tooltip-preview tn-link");
const icons = [];

View File

@ -6,7 +6,7 @@ const TPL = `
<div class="options-section">
<h4>${t("revisions_snapshot_interval.note_revisions_snapshot_interval_title")}</h4>
<p>${t("revisions_snapshot_interval.note_revisions_snapshot_description")}</p>
<p class="use-tn-links">${t("revisions_snapshot_interval.note_revisions_snapshot_description")}</p>
<div class="form-group">
<label>${t("revisions_snapshot_interval.snapshot_time_interval_label")}</label>