-
Notifications
You must be signed in to change notification settings - Fork 2.1k
fix(docs): overflow on <Callout />
#2082
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
Conversation
@QuiiBz is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
Personally I prefer the word break option |
Should we wait for someone else’s opinion, or go directly with word break? |
@tknickman @QuiiBz Agree, word break looks better |
Updated! |
Thanks @mattpocock / @QuiiBz |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
When the content of
<Callout />
contains long elements considered as a single word (e.g inline code), it causes an overflow on the page, and we can zoom out / swipe to the right:This PR adds an
overflow-x: scroll;
to the container, which allows scrolling to the right similarly to code blocks:Screen.Recording.2022-09-26.at.15.49.53.mov
Another option is to break words, but I'm not sure if it's a better idea. The content is longer and breaks long words, such as inline code: