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

The table with error codes does not break lines correctly and forces horizontal scrolling #2371

Open
1ucian0 opened this issue Nov 22, 2024 · 2 comments
Assignees
Labels
design 🎨 infra 🏗️ UI feedback rendering/layout issues with the user interface

Comments

@1ucian0
Copy link
Member

1ucian0 commented Nov 22, 2024

URL to the relevant documentation

https://docs.quantum.ibm.com/errors

Please describe the UI problem.

Screen.Recording.2024-11-22.at.14.18.57.mov

Reading the error code table is hard. It seems like break lines where it should not.

@Eric-Arellano
Copy link
Collaborator

Eric-Arellano commented Nov 22, 2024

It seems like break lines where it should not.

Do you mean there should be newlines inside individual table cells and there are not?

--

One challenge with this page is we cap the max-width of the main content to 800px. That is due to accessibility recommendations that you do not want your text-heavy site to be too wide because it makes reading harder. I believe the 800px comes from Carbon. However, I'll ask the designers if we could revisit that max to be something more useful like 900px or 1000px.

Update: Grace is going to investigate if we can increase the max width.

@1ucian0
Copy link
Member Author

1ucian0 commented Nov 22, 2024

Lol... my usually-broken English found a new record.

I mean that table should fit in the column to avoid the horizontal screening and, if the line is too long, it should break accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design 🎨 infra 🏗️ UI feedback rendering/layout issues with the user interface
Projects
Status: No status
Development

No branches or pull requests

6 participants