style: Improve tree visual
Use block and tree if you want to present a treelike structure, see keybinding for a usage sample
This commit is contained in:
parent
ac70159e7a
commit
f0acb197ad
1 changed files with 11 additions and 2 deletions
|
|
@ -405,14 +405,23 @@ label input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tree, .tree ul {
|
.tree p {
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
.tree {
|
||||||
|
padding: 10px;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-left: 0;
|
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
line-height: var(--line-height);
|
line-height: var(--line-height);
|
||||||
|
background: var(--background-color-alt);
|
||||||
}
|
}
|
||||||
.tree ul {
|
.tree ul {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
position: relative;
|
||||||
|
list-style-type: none;
|
||||||
|
line-height: var(--line-height);
|
||||||
|
background: var(--background-color-alt);
|
||||||
}
|
}
|
||||||
.tree ul li {
|
.tree ul li {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue