fix(tree): misalignment issue (#936)

This commit is contained in:
GaoNeng 2023-11-29 10:19:27 +08:00 committed by GitHub
parent 6fafeb5b68
commit 4679b6ba6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@
<span
class="tiny-tree-node__content-indent"
v-for="i in showLine ? 1 : node.level - 1"
:style="{ width: state.computedIndent }"
:style="{ width: state.computedIndent, flexShrink: 0 }"
></span>
<div class="tiny-tree-node__content-left">
<template v-if="showNumber">