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: Overlapping graphics with two icons in form elements #20164

Merged
merged 1 commit into from Dec 10, 2019

Conversation

Satloff
Copy link
Contributor

@Satloff Satloff commented Dec 10, 2019

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / document update
  • Component style update
  • TypeScript definition update
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

#4431

💡 Background and solution

This addresses the issue raised in #4431. Now that we can change the @form-component-height we need to calculate the proper spacing between the two icons. This maintains the correct spacing even as the component height grows.

📝 Changelog

Language Changelog
🇺🇸 English Fixes #4431. Adds correct spacing between two icons in form elements.
🇨🇳 Chinese

☑️ Self Check before Merge

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@netlify
Copy link

netlify bot commented Dec 10, 2019

Deploy preview for ant-design ready!

Built with commit 5d813ba

https://deploy-preview-20164--ant-design.netlify.com

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 5d813ba:

Sandbox Source
antd reproduction template Configuration

@codecov
Copy link

codecov bot commented Dec 10, 2019

Codecov Report

Merging #20164 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #20164   +/-   ##
=======================================
  Coverage   97.81%   97.81%           
=======================================
  Files         286      286           
  Lines        7739     7739           
  Branches     2177     2177           
=======================================
  Hits         7570     7570           
  Misses        169      169

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 20ef1f1...5d813ba. Read the comment docs.

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.

Overlapping graphics with<Select> in <Form.Item ... hasFeedback={true}>
2 participants