safe-svg icon indicating copy to clipboard operation
safe-svg copied to clipboard

Change width and height directly to <svg> not <div> container

Open stefanofattori opened this issue 11 months ago • 0 comments

Is your enhancement related to a problem? Please describe.

For accessibility and performance issues, width and height values must be inserted directly in the tag, not in the parent

. There is no need to edit the uploaded svg, but when the html is generated integrate width and height into the svg directly

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

stefanofattori avatar Apr 30 '25 08:04 stefanofattori