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:
Igor Támara 2025-11-03 13:14:29 -05:00 committed by CJ van den Berg
parent ac70159e7a
commit f0acb197ad

View file

@ -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;