From b3c5cee7dd30d0dd8d71b4cc353ea77d5d7fab3c Mon Sep 17 00:00:00 2001 From: Haixing <65376724+HaixingOoO@users.noreply.github.com> Date: Wed, 28 Feb 2024 14:45:05 +0800 Subject: [PATCH] style: fix tree checkbox compression (#1732) Co-authored-by: Heising --- style/web/components/tree/_index.less | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/style/web/components/tree/_index.less b/style/web/components/tree/_index.less index 46c11567f7..b293b8740d 100644 --- a/style/web/components/tree/_index.less +++ b/style/web/components/tree/_index.less @@ -82,6 +82,15 @@ .@{prefix}-checkbox { align-items: center; font-size: 0; + + &__input { + flex-shrink: 0; + } + + &__label { + overflow: hidden; + text-overflow: ellipsis; + } } .@{prefix}-tree__icon--default {