mirror of
https://github.com/modrinth/code.git
synced 2026-08-30 11:36:05 +00:00
fix: dependency lines when 3 nested
This commit is contained in:
@@ -70,12 +70,12 @@
|
||||
:key="childDependency.key"
|
||||
class="group/dependency relative pl-10"
|
||||
>
|
||||
<DownloadDependency :dependency="childDependency" @download="emit('download')" class="z-1" />
|
||||
<div
|
||||
aria-hidden="true"
|
||||
class="absolute -top-2 left-6 h-16 w-0.5 bg-surface-5 group-last/dependency:h-7"
|
||||
class="absolute -top-2 left-6 z-0 h-[calc(100%+1rem)] w-0.5 bg-surface-5 group-first/dependency:-top-2 group-first/dependency:h-20 group-last/dependency:h-7"
|
||||
/>
|
||||
<div aria-hidden="true" class="absolute left-6 top-5 h-0.5 w-4 bg-surface-5" />
|
||||
<DownloadDependency :dependency="childDependency" @download="emit('download')" />
|
||||
<div aria-hidden="true" class="absolute left-6 top-5 z-0 h-0.5 w-4 bg-surface-5" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user