swagger-api / swagger-ui

Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
https://swagger.io
Apache License 2.0
25.96k stars 8.85k forks source link

fix(css): improve path summary layout (prevent wrapping) #10046

Open zankoAn opened 3 days ago

zankoAn commented 3 days ago

Description

Improved the layout of long path summaries in Swagger UI by updating the CSS. This change prevents text wrapping, ensuring a cleaner and more consistent presentation.

Motivation and Context

To improve the readability.

Screenshots (if appropriate):

Original Layout

Original Layout

Improved Layout

Improved Layout

Checklist

My PR contains...

My changes...

Documentation

Automated tests