developers.italia.it
developers.italia.it copied to clipboard
Visual issues in the API page - swagger-ui
Describe the bug
As mentioned in https://twitter.com/aborruso/status/1488619461414371328 (thanks @aborruso), there is a visual glitch when browsing the API page through a mobile device.
In particular, it looks like the issue lies in the swagger-ui
component.
This issue has already been raised (for example here https://github.com/italia/developers.italia.it/issues/498) but it's still present.
To Reproduce Steps to reproduce the behavior:
- Go to https://developers.italia.it/it/api/ispra-idrogeo with a mobile device or shrink the browser width to < 500px
- Scroll down to the swagger section
- See issue
Expected behavior
The swagger-ui section should be readable also on mobile devices without issues. As such, the opblock-summary-path
and the opblock-summary-description
should keep a decent size proportion.
Screenshots
Thank you very much @libremente
There's an open issue upstream in swagger-ui: https://github.com/swagger-api/swagger-ui/issues/6647