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(plus-outlined): increase width of horizontal bar to match height of vertical bar #582

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

lscheibel
Copy link
Contributor

This PR increases the width of the horizontal bar to match the height of the vertical bar in the plus icon.

While at it, I also cleaned up the SVG to match the other SVGs.

Previously, the plus icon's bounding box was not a square:
image
The original icon superimposed onto itself when rotated 90°.

As you can see, the length of the two lines were not the same. This is especially noticeable when the icon is rendered at smaller sizes, where browsers start aligning the rasterized SVG to pixels.
Before:
image
After:
image


Please let me know if I need to run any build scripts.

@MadCcc
Copy link
Member

MadCcc commented Aug 24, 2023

LGTM

@MadCcc MadCcc merged commit 513bb09 into ant-design:master Aug 24, 2023
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