mirror of
https://github.com/zadam/trilium.git
synced 2025-12-12 18:34:24 +01:00
style(layout): apply heavy padding to title only in normal view
This commit is contained in:
parent
82528c4478
commit
a9b4e7b1e2
@ -38,7 +38,6 @@ body.experimental-feature-new-layout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.title-row {
|
.title-row {
|
||||||
margin-top: 2em;
|
|
||||||
margin-left: 12px;
|
margin-left: 12px;
|
||||||
|
|
||||||
.note-icon-widget {
|
.note-icon-widget {
|
||||||
@ -55,13 +54,22 @@ body.experimental-feature-new-layout {
|
|||||||
gap: 0.25em;
|
gap: 0.25em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
margin-bottom: 2em;
|
|
||||||
|
|
||||||
span.value {
|
span.value {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.note-split.view-mode-default {
|
||||||
|
.title-row {
|
||||||
|
margin-top: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title-details {
|
||||||
|
margin-bottom: 2em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.scrolling-container:has(> :is(.note-detail.full-height, .note-list-widget.full-height)) {
|
.scrolling-container:has(> :is(.note-detail.full-height, .note-list-widget.full-height)) {
|
||||||
.title-row,
|
.title-row,
|
||||||
.title-details {
|
.title-details {
|
||||||
|
|||||||
@ -62,6 +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.addClass(`view-mode-${this.noteContext?.viewScope?.viewMode ?? "default"}`);
|
||||||
this.$widget.toggleClass(["bgfx", "options"], note.isOptions());
|
this.$widget.toggleClass(["bgfx", "options"], note.isOptions());
|
||||||
this.$widget.toggleClass("protected", note.isProtected);
|
this.$widget.toggleClass("protected", note.isProtected);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user