Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
client: add a CSS class to identify option splits
Adorian Doranb38780755ad9
diff --git a/apps/client/src/widgets/note_wrapper.ts b/apps/client/src/widgets/note_wrapper.tsindex d524a51951..274dacfabf 100644--- a/apps/client/src/widgets/note_wrapper.ts+++ b/apps/client/src/widgets/note_wrapper.ts@@ -62,7 +62,7 @@ export default class NoteWrapperWidget extends FlexContainer<BasicWidget> {this.$widget.addClass(utils.getNoteTypeClass(note.type));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);const noteLanguage = note?.getLabelValue("language");