ant-design / ant-design-icons

⭐ Ant Design SVG Icons
https://ant.design/components/icon/
MIT License
940 stars 577 forks source link

fix(plus-outlined): increase width of horizontal bar to match height of vertical bar #582

Closed lscheibel closed 10 months ago

lscheibel commented 11 months ago

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 commented 10 months ago

LGTM