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

[t-loading] 建议添加顶部距离的属性 top。 #3358

Open
vikyd opened this issue Sep 11, 2023 · 3 comments
Open

[t-loading] 建议添加顶部距离的属性 top。 #3358

vikyd opened this issue Sep 11, 2023 · 3 comments
Labels
💪🏻 enhancement New feature or request

Comments

@vikyd
Copy link

vikyd commented Sep 11, 2023

这个功能解决了什么问题

loading icon 目前只能出现在中间,loading 包裹的内容很长时,看不见 icon。

你建议的方案是什么

建议添加一个 top 属性,允许设置 icon 距离容器顶部的距离,例如:10px 等。

@github-actions
Copy link
Contributor

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

@chaishi
Copy link
Collaborator

chaishi commented Sep 11, 2023

当前,试试给外层元素设置一个 margin-top: -100px

@vikyd
Copy link
Author

vikyd commented Sep 11, 2023

当前,试试给外层元素设置一个 margin-top: -100px

这样会侵占上方元素,并不彻底。

@PengYYYYY PengYYYYY added the 💪🏻 enhancement New feature or request label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪🏻 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants