feat(layout/title): collapse badges and note title while constrained in size

This commit is contained in:
Elian Doran 2025-12-13 10:43:32 +02:00
parent c97038fffd
commit 3549bfb328
No known key found for this signature in database

View File

@ -30,6 +30,28 @@ body.desktop .note-title-widget input.note-title {
}
body.experimental-feature-new-layout {
.title-row {
container-type: size;
@container (max-width: 700px) {
.note-icon-widget .note-icon {
font-size: 1.3em;
}
.note-title-widget {
display: flex;
align-items: center;
.note-title {
font-size: 1em;
}
}
.breadcrumb-badge .text {
display: none;
}
}
}
.title-details {
max-width: var(--max-content-width);
padding: 0;