palantir / blueprint

A React-based UI toolkit for the web
https://blueprintjs.com/
Apache License 2.0
20.75k stars 2.18k forks source link

`map-marker` icon is not horizontally centered #7064

Closed benrucker closed 1 week ago

benrucker commented 1 week ago

The map-marker icon is not centered within the SVG viewport. This seems to only be a problem with the default icon size of 16px, because I don't see this issue on the Icons List page which uses 20px icons. This is causing problems for a design I am trying to implement that assumes that the map marker icon is properly centered.

Environment

Code Sandbox

https://codesandbox.io/p/devbox/distracted-http-5k3hg6

Actual behavior

Icon is not centered

image

Expected behavior

Icon is centered

image

Possible solution

Edit the SVG so that the icon is centered within the SVG viewport.

ggdouglas commented 1 week ago

Thanks for the flag! This is fixed by #7066