Unexpected line break between HTTP status code, reason
Describe the bug
Somewhere between v2.0.0-rc.75 and v2.1.5 (I just attempted an upgrade), redoc started adding a line break between the numerical HTTP status code and the description for the response, even though plenty of space is available.
Expected behavior
No extra line break when plenty of space is available.
Minimal reproducible OpenAPI snippet(if possible)
"paths": {
"/": {
"get": {
"description": "Operation description.",
"operationId": "my.operation",
"responses": {
"200": {
"content": {},
"description": "OK"
},
"400": {
"content": {},
"description": "Bad request"
}
}
}
}
}
}
Screenshots
before:
after (looks like I screenshotted a different route but it's the same everywhere):
Is this issue solved? If not I can handle with that
I guess you should test it yourself with the latest git version once you have a working dev setup, but the version from the issue report is still the latest published release as far as I can tell.
It is reproducible. PRs are welcome. Thanks