Skip to content

Conversation

@Zuojiangtao
Copy link

修复spin组件loading未居中的样式bug

实际效果:
image

修复后效果:
image

@tangjinzhou
Copy link
Member

官网看着没问题啊

@Zuojiangtao
Copy link
Author

Zuojiangtao commented Jan 6, 2025

看了下,找到了问题,是设置默认的最大高度的导致的。

image

image

codesandbox示例

当spin组件包裹的高度超过400时就不居中了。

@github-actions
Copy link

github-actions bot commented Mar 7, 2025

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added Stale and removed Stale labels Mar 7, 2025
@Zuojiangtao
Copy link
Author

所以这个样式是就这样了吗?还是加一个可以控制的居中高度覆盖contentHeight @tangjinzhou
image

@github-actions
Copy link

github-actions bot commented May 9, 2025

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the Stale label May 9, 2025
@github-actions github-actions bot closed this May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants