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

chore: use <></> & remove unnecessary tags & clear float #440

Merged
merged 2 commits into from
Jul 3, 2023

Conversation

vlin
Copy link
Collaborator

@vlin vlin commented Jul 3, 2023

  1. 使用 <></> 替换 <Header> <Layout> <RunMarker> 组件根结点,以提升渲染性能。
  2. 去除非必要的 <div> 标签。
  3. 发现主体布局使用了 float,但未清除。使用 clearfix,以确保主体 <div> 渲染出正常高度。
    清除浮动前
    清除浮动前
    清除浮动后
    清除浮动后

@vercel
Copy link

vercel bot commented Jul 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
running-page ✅ Ready (Inspect) Visit Preview Jul 3, 2023 8:46am

@yihong0618
Copy link
Owner

Nice thanks~

@yihong0618 yihong0618 merged commit 770abf6 into master Jul 3, 2023
@frostming frostming deleted the dev-remove-tags branch August 30, 2023 09:42
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