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 .hierarchy-tree .__item::after { | |||
position: absolute; | |||
top: 50%; | |||
left: -8px; | |||
width: 6px; | |||
height: 2px; | |||
display: block; | |||
content: ""; | |||
background-color: var(--color-base); | |||
} | } | ||
.hierarchy-tree .__item > .emoji { | .hierarchy-tree .__item > .emoji { | ||
Line 11: | Line 21: | ||
} | } | ||
.hierarchy-tree > .-tree-indent { | .hierarchy-tree > .-tree-indent { | ||
padding-left: | padding-left: 16px; | ||
position: relative; | position: relative; | ||
} | } |
Revision as of 03:14, 14 December 2024
.hierarchy-tree {
display: flex;
flex-flow: column nowrap;
height: max-content;
}
.hierarchy-tree .__item {
position: relative; /* absolute positioning target */
}
.hierarchy-tree .hierarchy-tree .__item::after {
position: absolute;
top: 50%;
left: -8px;
width: 6px;
height: 2px;
display: block;
content: "";
background-color: var(--color-base);
}
.hierarchy-tree .__item > .emoji {
margin-right: 6px;
}
.hierarchy-tree > .-tree-indent {
padding-left: 16px;
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);
}