mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 08:48:49 +01: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:
parent
022a4e7d23
commit
857a795189
1 changed files with 23 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue