mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 08:29:00 +01:00
client: add a CSS class to identify option splits
This commit is contained in:
parent
78a54fa9f7
commit
b38780755a
@ -62,7 +62,7 @@ export default class NoteWrapperWidget extends FlexContainer<BasicWidget> {
|
|||||||
|
|
||||||
this.$widget.addClass(utils.getNoteTypeClass(note.type));
|
this.$widget.addClass(utils.getNoteTypeClass(note.type));
|
||||||
this.$widget.addClass(utils.getMimeTypeClass(note.mime));
|
this.$widget.addClass(utils.getMimeTypeClass(note.mime));
|
||||||
this.$widget.toggleClass("bgfx", note.isOptions());
|
this.$widget.toggleClass(["bgfx", "options"], note.isOptions());
|
||||||
this.$widget.toggleClass("protected", note.isProtected);
|
this.$widget.toggleClass("protected", note.isProtected);
|
||||||
|
|
||||||
const noteLanguage = note?.getLabelValue("language");
|
const noteLanguage = note?.getLabelValue("language");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user