Open
Description
Describe the bug
The viewer is not working for .svg
files. No Preview. No file icon. Just the black background.
Seems to be fixable by adding a height: {x}px;
to the preview img
HTML Element.
Happened with =OC\Preview\SVG enabled and disabled
To Reproduce
Steps to reproduce the behavior:
- Go to files app.
- Upload SVG file
- Open viewer for the SVG file via context menu
- See error
Expected behavior
A preview of the SVG or the file type icon depending on Preview config
Screenshots
Desktop (please complete the following information):
- Browser: Chrome
- Version 133.0.6943.141
Browser log
Nothing suspicious. No Warning or Errors just debug info