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

[statistic] 数字部分的字体大小是否给配置调整? #4609

Closed
Brokenstrings opened this issue Sep 26, 2024 · 4 comments
Closed

[statistic] 数字部分的字体大小是否给配置调整? #4609

Brokenstrings opened this issue Sep 26, 2024 · 4 comments
Labels
need more info need more information to resolve issue

Comments

@Brokenstrings
Copy link

这个功能解决了什么问题

Statistic 统计数值这个组件挺好用的,就是数字部分字体大小固定的不能调整大小,有时候很难适配现有的UI,能否给个配置去设置字体大小,哪怕给几个固定的值去去选。

你建议的方案是什么

希望提供配置去设置字体大小

Copy link
Contributor

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

@uyarn
Copy link
Collaborator

uyarn commented Sep 27, 2024

这个样式覆盖就可以吧?

@uyarn uyarn added the need more info need more information to resolve issue label Sep 28, 2024
@Brokenstrings
Copy link
Author

这个样式覆盖就可以吧?
目前就是这么做的,写了几个全局的样式,要用不同字体大小加个class,暂时满足业务需求了

@uyarn
Copy link
Collaborator

uyarn commented Oct 27, 2024

这个暂时不打算再增加其他配置了

@uyarn uyarn closed this as completed Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need more info need more information to resolve issue
Projects
None yet
Development

No branches or pull requests

2 participants