style/empty note: fix alignment

This commit is contained in:
Adorian Doran
2025-11-10 03:05:05 +02:00
committed by Elian Doran
parent 624610b17c
commit b741662fde
2 changed files with 7 additions and 3 deletions

View File

@@ -123,8 +123,12 @@
*/ */
/* The container */ /* The container */
div.note-detail-empty {
max-width: 70%; .note-split.empty-note {
--max-content-width: 70%;
}
.note-split.empty-note div.note-detail {
margin: 50px auto; margin: 50px auto;
} }

View File

@@ -52,7 +52,7 @@ export default class NoteWrapperWidget extends FlexContainer<BasicWidget> {
const note = this.noteContext?.note; const note = this.noteContext?.note;
if (!note) { if (!note) {
this.$widget.addClass("bgfx"); this.$widget.addClass("bgfx empty-note");
return; return;
} }