mirror of
https://github.com/zadam/trilium.git
synced 2025-12-13 02:44:24 +01:00
fix(layout): title background for code notes
This commit is contained in:
parent
f7955a9040
commit
f1edf84f4d
@ -46,10 +46,14 @@ body.experimental-feature-new-layout {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.note-split.type-code:not(.mime-text-x-sqlite) .title-row,
|
||||||
|
.note-split.type-code:not(.mime-text-x-sqlite) .title-details {
|
||||||
|
background-color: var(--main-background-color);
|
||||||
|
}
|
||||||
|
|
||||||
.title-details {
|
.title-details {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
contain: none;
|
contain: none;
|
||||||
opacity: 0.85;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.25em;
|
gap: 0.25em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -62,11 +66,12 @@ body.experimental-feature-new-layout {
|
|||||||
|
|
||||||
.note-split.view-mode-default {
|
.note-split.view-mode-default {
|
||||||
.title-row {
|
.title-row {
|
||||||
margin-top: 2em;
|
padding-top: 2em;
|
||||||
|
box-sizing: content-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-details {
|
.title-details {
|
||||||
margin-bottom: 2em;
|
padding-bottom: 2em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user