-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
fix: change schema name word breaking to anywhere #743
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
/rtm |
@derberg any update here? |
Kudos, SonarCloud Quality Gate passed! |
/rtm |
next is probably way behind with latest CI/CD workflows |
🎉 This PR is included in version 1.0.0-next.50 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Changes proposed in this pull request:
overflow-wrap: anywhere
to prevent content going under the sidebar when using long schema names that cannot be broken up into words.Why is this an issue?
When using long names for schemas that cannot be broken up into words like when using Java package names, the content can go under the sidebar.
This makes the content unreadable to a large extent unless the window is made small enough for the sidebar to be put inside the burger menu.
When applying
overflow-wrap: anywhere
the browser will still try to wrap on words but also allows breaking up long, otherwise unbreakable strings to avoid overflowing.Example
Previously:
Afterwards:
AsyncApi definition used for the example:
Related issue(s)