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

style: fix page element shake after loading #705

Merged
merged 1 commit into from
May 30, 2024

Conversation

orangelckc
Copy link
Contributor

问题

课程首页——课程包列表加载前后,打卡图在页面的位置出现轻微抖动

录制于 2024-05-30 11 24 12

原因

课程包列表 loading 状态下的最小高度 min-h-80 无法包含课程包卡片加载后的高度

image

解决

增加课程包的最小高度到 min-h-[350px]

保证加载中和加载后显示的高度一致,避免 高度闪烁 问题

@fengstats fengstats merged commit 67a75eb into cuixueshe:main May 30, 2024
1 check passed
@fengstats fengstats changed the title style: fix page element flickering after loading style: fix page element shake after loading May 30, 2024
@orangelckc orangelckc deleted the kc/home-loading branch May 30, 2024 13:29
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

Successfully merging this pull request may close these issues.

2 participants