Firefox renders a top-level SVG document at its intrinsic size, so there's no built-in "fit to window" for SVGs (unlike JPEG/PNG, which get the image viewer). Options, easiest first:
1. Quick zoom (no file changes)Ctrl + - / Ctrl + + to zoom in/out, or Ctrl + 0 to reset. Not a true fit, but works for a quick look.
2. Fix the SVG itself (best if you control the file)
In the root <svg> tag, remove the width and height attributes and keep viewBox, e.g.:
The <img> element scales SVGs automatically while preserving aspect ratio.
Alternative: open the SVG with GNOME's Image Viewer (Loupe, the default on Debian 13) — it fits images to the window out of the box and handles SVG. Right-click the file → Open With → Image Viewer, or set it as the default for SVG files.
Oct 30, 10:57am
This is a shared conversation and may include unverified content that doesn't reflect Mistral AI's views. Login to resume chatting.
This is a shared conversation and may include unverified content that doesn't reflect Mistral AI's views. Login to resume chatting.
Vibe can make mistakes. Check answers. Learn more