jakearchibald / svgomg

Web GUI for SVGO

Home Page:https://jakearchibald.github.io/svgomg/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Zoom-to-fit Button

craftedsystems opened this issue · comments

A zoom-to-fit button would be helpful, as the graphic is sometimes tiny and hard to see.

I think the graphic being tiny is indicative of an oversized viewbox, correct?

No, it is not related to an incorrect viewbox value.

Here is an example of an icon that I would like to see much bigger when I first load it.

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 16">
  <path fill="none" stroke="#333" stroke-width="2" d="M0 1h18M0 8h18M0 15h18"/>
</svg>

Screenshot