style/note scrolling container: make the alignment of children more consistent
Some checks failed
Checks / main (push) Has been cancelled

This commit is contained in:
Adorian Doran 2025-12-28 19:20:46 +02:00
parent 79d2010bfa
commit 2bf862d5b9
5 changed files with 19 additions and 4 deletions

View File

@ -12,7 +12,7 @@ body.prefers-centered-content .note-list-widget:not(.full-height) {
}
.note-list-widget .note-list {
padding: 10px;
padding-block: 10px;
}
.note-list-widget.full-height,

View File

@ -2,6 +2,13 @@
overflow: auto;
scroll-behavior: smooth;
position: relative;
> .inline-title,
> .note-detail > .note-detail-editable-text,
> .note-list-widget:not(.full-height) {
padding-inline: 24px;
}
}
.note-split.type-code:not(.mime-text-x-sqlite) {

View File

@ -10,7 +10,6 @@
max-width: var(--max-content-width);
container-type: inline-size;
padding-top: 20px;
padding-inline-start: 24px;
& > .inline-title-row {
--icon-size: 35px;

View File

@ -8,13 +8,14 @@ body.experimental-feature-new-layout {
max-width: var(--max-content-width);
flex-direction: column;
gap: 0.5em;
padding-inline: 12px 8px;
body.prefers-centered-content & {
margin-inline: auto;
}
&:not(:empty) {
padding: 0.75em 15px;
padding-block: 0.75em;
}
.edited-notes {
@ -45,5 +46,10 @@ body.experimental-feature-new-layout {
padding: 0;
}
}
> .collapsible,
> .note-type-switcher {
margin-inline: 12px;
}
}
}

View File

@ -1,6 +1,5 @@
.note-detail-editable-text {
font-family: var(--detail-font-family);
padding-inline-start: 14px;
height: 100%;
}
@ -49,4 +48,8 @@ body.heading-style-underline .note-detail-editable-text h6 { border-bottom: 1px
box-shadow: none !important;
min-height: 50px;
height: 100%;
}
:root .ck.ck-editor__editable_inline {
padding: 0;
}