More actions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
.hierarchy-tree .__item { | .hierarchy-tree .__item { | ||
position: relative; /* absolute positioning target */ | position: relative; /* absolute positioning target */ | ||
} | |||
.hierarchy-tree .__item > .emoji { | |||
margin-right: 6px; | |||
} | } | ||
.hierarchy-tree > .-tree-indent { | .hierarchy-tree > .-tree-indent { | ||
Line 12: | Line 15: | ||
} | } | ||
.hierarchy-tree > .-tree-indent::after { | .hierarchy-tree > .-tree-indent::after { | ||
left: | left: 6px; | ||
width: 2px; | width: 2px; | ||
top: | top: 2px; | ||
bottom: | bottom: 2px; | ||
display: block; | display: block; | ||
position: absolute; | |||
content: ""; | content: ""; | ||
background-color: var(--color-base); | background-color: var(--color-base); | ||
} | } |
Revision as of 03:12, 14 December 2024
.hierarchy-tree {
display: flex;
flex-flow: column nowrap;
height: max-content;
}
.hierarchy-tree .__item {
position: relative; /* absolute positioning target */
}
.hierarchy-tree .__item > .emoji {
margin-right: 6px;
}
.hierarchy-tree > .-tree-indent {
padding-left: 24px;
position: relative;
}
.hierarchy-tree > .-tree-indent::after {
left: 6px;
width: 2px;
top: 2px;
bottom: 2px;
display: block;
position: absolute;
content: "";
background-color: var(--color-base);
}