Back

Is there a way to align the inner path of an SVG to the left or right? Preferably without changing the SVG/path itself, as I'm using Heroicons.

image

1

118

How about a targeted CSS rule?

svg > path {
transform: translateX(-1px);
}

1

114

In response to @kristofdombi

I was hoping for an HTML attribute, but I will definitely play around with this!

98

0 / 1000