Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Underscores in paths are invisible in the rendered docs #546

Open
christophfriedrich opened this issue Oct 21, 2024 · 3 comments
Open

Underscores in paths are invisible in the rendered docs #546

christophfriedrich opened this issue Oct 21, 2024 · 3 comments

Comments

@christophfriedrich
Copy link
Contributor

In the heading for each endpoint, if the path includes an underscore, it appears like a space:

grafik

The problem is the CSS rule overflow-x: hidden on the immediately surrounding <span> element. I don't know if this can be fixed here or is an upstream issue?

Firefox 131.0.2 (64-bit) on Windows 11

@christophfriedrich
Copy link
Contributor Author

The screenshot above was taken with the Snipping Tool of Windows. Interestingly, when I take it with the tool that is built into Firefox, the underscore IS visible in the saved image, despite it not showing on screen:

grafik

Also, I realised that overflow-x shouldn't do anything here at all, as the underscore is in the y direction... Maybe it's actually a Firefox bug.

@christophfriedrich
Copy link
Contributor Author

I reported this over at Bugzilla because the behaviour feels super weird to me: https://bugzilla.mozilla.org/show_bug.cgi?id=1925957

@m-mohr
Copy link
Member

m-mohr commented Oct 22, 2024

Thanks for the report. Yeah, that's either a bug in Redoc or in the browser, indeed.
Not sure we can do anything about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants