diff --git a/src/index.css b/src/index.css index f0b6bbf..574de25 100644 --- a/src/index.css +++ b/src/index.css @@ -360,6 +360,24 @@ body { position: relative; } +.folder-children > * { + position: relative; +} + +.folder-children > *::after { + content: ""; + position: absolute; + left: -12px; + top: -10px; + bottom: -10px; + width: 2px; + background: var(--tree-line); +} + +.folder-children > :last-child::after { + bottom: 50%; +} + .folder-children .folder-item::before, .folder-children .prompt-item::before { content: ""; @@ -372,22 +390,6 @@ body { transform: translateY(-50%); } -.folder-children .folder-item::after, -.folder-children .prompt-item::after { - content: ""; - position: absolute; - left: -12px; - top: -10px; - bottom: -10px; - width: 2px; - background: var(--tree-line); -} - -.folder-children > :last-child .folder-item::after, -.folder-children > :last-child .prompt-item::after { - bottom: 50%; -} - .workspace { padding: 28px 32px; height: 100%;