Improve the line-height of the title blocks in the list (#15375)

* 💄 Improve the line-height of the title blocks in the list

fix https://github.com/siyuan-note/siyuan/issues/15003

* 💄 Improve the line-height of the title blocks in the list

fix https://github.com/siyuan-note/siyuan/issues/15003
This commit is contained in:
Jeffrey Chen 2025-08-01 17:53:32 +08:00 committed by GitHub
parent 022a4e7d23
commit 857a795189
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -183,7 +183,29 @@
line-height: calc(1.625em + 8px);
& ~ [data-type="NodeHeading"] {
line-height: 1em;
&.h1 {
line-height: calc(1.625em / 1.75);
}
&.h2 {
line-height: calc(1.625em / 1.55);
}
&.h3 {
line-height: calc(1.625em / 1.38);
}
&.h4 {
line-height: calc(1.625em / 1.25);
}
&.h5 {
line-height: calc(1.625em / 1.13);
}
&.h6 {
line-height: 1.625em;
}
& > [spellcheck] {
min-height: 1em;