mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
style/empty note: fix alignment
This commit is contained in:
committed by
Elian Doran
parent
624610b17c
commit
b741662fde
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user