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

[Alert] 希望可以做一个small size 默认的size太大了,不适用于dialog等场景 #4839

Open
entireyu opened this issue Dec 16, 2024 · 2 comments

Comments

@entireyu
Copy link

这个功能解决了什么问题

alert的默认size太大了,放到dialog或者drawer的场景中比较占位置

你建议的方案是什么

做一个小一点的size

Copy link
Contributor

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

@Yacj
Copy link

Yacj commented Dec 16, 2024

可以修改 padding的css var
微信图片_20241216161046
但是建议官方 添加 个 size 的 props 比如 default small large 这种

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants