Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tree] 节点无图标时缩进间距问题/上下节点的间距过大问题/图标颜色问题 #2008

Open
ghostzhang opened this issue Dec 5, 2024 · 5 comments
Labels

Comments

@ghostzhang
Copy link

重现链接

https://tdesign.tencent.com/vue/components/tree

重现步骤

示例预览

期望结果

更紧凑的间距
image

实际结果

间距过大
image
image

Environment Info
相关版本 1.10.5
框架版本 / 基础库版本 vue/1.10.5
系统、浏览器 chrome 131.0.6778.86
Node版本
Copy link

github-actions bot commented Dec 5, 2024

👋 @ghostzhang,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@uyarn
Copy link
Collaborator

uyarn commented Dec 23, 2024

是的 这里需要去掉没有图标的占位

@uyarn
Copy link
Collaborator

uyarn commented Dec 30, 2024

transfer to common repo to track

@uyarn uyarn transferred this issue from Tencent/tdesign-vue Dec 30, 2024
Copy link

👋 @ghostzhang,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@Tencent Tencent deleted a comment from github-actions bot Dec 30, 2024
@uyarn
Copy link
Collaborator

uyarn commented Dec 30, 2024

改动点

  1. 无前置图标去掉图标占位,同时增加8px的默认间距
WeChatWorkScreenshot_2a7e65e7-6590-4e22-b61a-c68ead033545
  1. 上下边距改为2px
企业微信截图_ae932bee-88ef-45d0-909e-25598736c907
  1. 展开时图标不应跟随变换主题色

  2. 选中时操作图标颜色不应跟随变换主题色

@uyarn uyarn changed the title 【tree】节点无图标时缩进间距过大,上下节点的间距过大 [Tree] 节点无图标时缩进间距问题/上下节点的间距过大问题/图标颜色问题 Dec 30, 2024
@Tencent Tencent deleted a comment from github-actions bot Dec 30, 2024
@uyarn uyarn added 🎨 Design design and removed to be published labels Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants