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

fix: for inconsistent switch width changes #6421

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

1587315093
Copy link
Contributor

resolved: #6418

原因是 两个class 的 margin 数值不一致的问题

修复前的margin: 开状态 0 34px 0 10px。 关状态: 0 8px 0 33px

修复后的margin: 开状态 0 34px 0 8px。 关状态: 0 8px 0 34px

Copy link
Contributor

github-actions bot commented Nov 1, 2023

PR preview has been successfully built and deployed to https://antd-mobile-preview-pr-6421.surge.sh

Copy link

codecov bot commented Nov 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f2e166d) 92.10% compared to head (0716f4c) 92.10%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6421   +/-   ##
=======================================
  Coverage   92.10%   92.10%           
=======================================
  Files         316      316           
  Lines        6861     6861           
  Branches     1719     1719           
=======================================
  Hits         6319     6319           
  Misses        504      504           
  Partials       38       38           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zombieJ zombieJ merged commit 671ea15 into ant-design:master Nov 1, 2023
8 checks passed
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.

Switch的checkedText和uncheckedText相同时,开关状态下组件宽度不一致,影响布局
2 participants