redoc
redoc copied to clipboard
No mobile view: missing meta viewport tag in container image
Describe the bug
Deployment with docker images (last and rc.53 tags from docker hub) don't have mobile browser support. Missing <meta name="viewport" ...> tag in base index.html.
Expected behavior
When using on a mobile device or via Chrome dev tools with device simulation, the UI should adjust accordingly. After comparing the index.html in the container and the one in the samples section in this repo, I found that this line was missing from the index.html.
<meta name="viewport" content="width=device-width, initial-scale=1">
Minimal reproducible OpenAPI snippet(if possible) Deploy docker version and try to open in mobile device or reproduce via Chrome dev tools by choosing any mobile device profile.
Screenshots N/A
Additional context Using docker image deployment.