Avoid reflow on title hiding/showing

This commit is contained in:
Adrian Gruntkowski 2025-11-09 01:15:36 +01:00
parent 2b7bd668ec
commit ad5742bb1d

View file

@ -249,11 +249,11 @@ task-list ul {
note-form:focus-within .title, note-form:focus-within .title,
note-form .title:has(.non-empty) { note-form .title:has(.non-empty) {
display: block; visibility: visible;
} }
note-form .title { note-form .title {
display: none; visibility: hidden;
font-size: 1.2em; font-size: 1.2em;
font-weight: bold; font-weight: bold;
} }