mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-12 20:02:28 +08:00
client: recent changes list: make possible to use a distinct style for items referencing deleted notes
This commit is contained in:
parent
5caf4c2461
commit
5d4dd8bc0a
@ -127,6 +127,9 @@ export default class RecentChangesDialog extends BasicWidget {
|
|||||||
appContext.tabManager.getActiveContext().setNote(change.noteId);
|
appContext.tabManager.getActiveContext().setNote(change.noteId);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
.addClass(() => {
|
||||||
|
if (change.current_isDeleted) return "deleted-note";
|
||||||
|
})
|
||||||
.append(
|
.append(
|
||||||
$("<span>")
|
$("<span>")
|
||||||
.text(formattedTime)
|
.text(formattedTime)
|
||||||
|
@ -1314,7 +1314,7 @@ body.electron.platform-darwin:not(.native-titlebar) .tab-row-container {
|
|||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.recent-changes-content li:hover {
|
.recent-changes-content li:not(.deleted-note):hover {
|
||||||
border-color: var(--hover-item-border-color);
|
border-color: var(--hover-item-border-color);
|
||||||
background: var(--hover-item-background-color);
|
background: var(--hover-item-background-color);
|
||||||
color: var(--hover-item-text-color);
|
color: var(--hover-item-text-color);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user