mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-26 08:26:51 +00:00
Basic mcdoc tree rendering
This commit is contained in:
@@ -344,26 +344,18 @@ button.move:disabled {
|
||||
|
||||
/* Node body and list entry */
|
||||
|
||||
.node {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.node-body > .node:first-child {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.node:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.node-body {
|
||||
border-left: 3px solid var(--node-indent-border);
|
||||
.node, .node-root {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.node-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
padding-left: 18px;
|
||||
border-left: 3px solid var(--node-indent-border);
|
||||
}
|
||||
|
||||
.list-node > .node-body > .object-node > .node-body,
|
||||
|
||||
Reference in New Issue
Block a user