mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user