-
Notifications
You must be signed in to change notification settings - Fork 509
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
Issue with "BigInt": Left sidebar blends with text #5105
Comments
I can reproduce using Chrome 96.0.4664.110 with the browser window sized such that window.innerWidth === 1024; // true In my opinion, the following improves the layout .sidebar {
overflow-x: hidden;
} This issue occurs on every page that displays the |
It looks fine on firefox(wrapping the text to next line at-word). Issue seems to be with chromium browsers. It's because the text is within the code block and chromium browsers for some reason arent able to figure out where to wrap text within |
The following helps Chrome 96 and probably other Chromium browsers .sidebar code {
word-wrap: break-word;
} |
Yes. That does work, but not as good as it does in firefox. Edit: found similar issue in #4635 The simple solution here would be to remove the |
Hey @PythonCoderAS, @Andrew-Cottrell, and @AnilSeervi. Thank you for raising this issue. It is indeed problematic. This is being addressed as part of the current redesign that is underway. As such, the work is tracked elsewhere. Closing this one to avoid duplication. |
MDN URL: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt
What information was incorrect, unhelpful, or incomplete?
The left sidebar clips with the actual text and makes it hard to read.
Specific section or headline?
Most noticeable near the Operators heading.
What did you expect to see?
Sidebar separated by whitespace
Did you test this? If so, how?
N/A
MDN Content page report details
en-us/web/javascript/reference/global_objects/bigint
The text was updated successfully, but these errors were encountered: