mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 00:49:00 +01:00
style/empty note: fix alignment
This commit is contained in:
parent
624610b17c
commit
b741662fde
@ -123,8 +123,12 @@
|
||||
*/
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
|
||||
@ -52,7 +52,7 @@ export default class NoteWrapperWidget extends FlexContainer<BasicWidget> {
|
||||
|
||||
const note = this.noteContext?.note;
|
||||
if (!note) {
|
||||
this.$widget.addClass("bgfx");
|
||||
this.$widget.addClass("bgfx empty-note");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user