Improve handling of lists with multiline items.
This commit is contained in:
parent
88029a27d0
commit
58bb7ccc49
2 changed files with 4 additions and 3 deletions
|
@ -154,12 +154,13 @@ body nav input {
|
|||
--tree-radius : 0.75ex;
|
||||
--tree-line-separation: 0.5rem;
|
||||
--tree-color: #ccc;
|
||||
--tree-border-radius: 10px;
|
||||
--tree-border-radius: 5px;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.node .contents ul li {
|
||||
position: relative;
|
||||
padding-left: calc(var(--tree-spacing) * 2);
|
||||
}
|
||||
|
||||
.node .contents ul li::after {
|
||||
|
@ -181,7 +182,7 @@ body nav input {
|
|||
border-bottom: 2px dashed var(--tree-color);
|
||||
vertical-align: super;
|
||||
margin-right: calc(var(--tree-line-separation) + 0.5ex);
|
||||
margin-left: -2px;
|
||||
margin-left: calc(0px - (var(--tree-line-separation) * 4) - 2px);
|
||||
}
|
||||
|
||||
/* Nested item list */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue