yari icon indicating copy to clipboard operation
yari copied to clipboard

fix(icons): avoid fixed SVG width/height

Open caugner opened this issue 2 years ago • 1 comments

Summary

Problem

SVGs are cropped when they have a fixed width/height and we resize them to be smaller in React.

Solution

Remove the fixed width/height and rely on the viewBox instead.


How did you test this change?

Will deploy to xyz.

caugner avatar Nov 29 '23 17:11 caugner

This pull request has merge conflicts that must be resolved before it can be merged.

github-actions[bot] avatar Dec 05 '23 12:12 github-actions[bot]

Closing, as this should probably more fixed in the svgo config.

caugner avatar May 20 '24 14:05 caugner