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

MBS-12415 / MBS-12416: Limit overenthusiastic overflow-wrap #2557

Merged
merged 2 commits into from
Jun 1, 2022

Conversation

reosarevok
Copy link
Member

Fix MBS-12415 / MBS-12416

The main intention of the overflow-wrap changes was to wrap absurdly long entity names, and very long words in edit notes. By setting it everywhere, it was also affecting things like the tag button on the sidebar, or barcodes in entity lists, which does not seem useful. As such, this sets it only on <a> and on edit notes.

It also explicitly unsets it from <a> in the header. Wrapping here would make sense if it avoided scrolling, but it does not - it just makes the headers harder to read without adding anything remotely responsive. As such, let's stop the wrapping for now and recheck this once we have implemented the responsive header that is in the works.

The main intention of the overflow-wrap changes was
to wrap absurdly long entity names, and very long words in edit notes.
By setting it everywhere, it was also affecting things like the
tag button on the sidebar, or barcodes in entity lists, which does not
seem useful. As such, this sets it only on <a> and on edit notes.
Wrapping here would make sense if it avoided scrolling,
but it does not - it just makes the headers harder to read without adding
anything remotely responsive. As such, let's stop the wrapping for now
and recheck this once we have implemented the responsive
header that is in the works.
@reosarevok reosarevok added the Regression/Beta Bugs that are either on beta or new regressions and should be checked ASAP label Jun 1, 2022
Copy link
Member

@mwiencek mwiencek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to fix both of the linked issues for me locally (though I could only reproduce them in Firefox -- guess that's why I didn't notice them before). Hopefully it doesn't turn out we need more exceptions for a.

@reosarevok
Copy link
Member Author

I could reproduce them in Chrome by making the window smaller, FWIW.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Regression/Beta Bugs that are either on beta or new regressions and should be checked ASAP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants