gatsby-theme-carbon
gatsby-theme-carbon copied to clipboard
inline code word-wrapping at word boundaries
Detailed description
Inline code wants to wrap on what seems to be a "word boundary", which (IMO) is problematic, given the context.
Example:

What did you expect to happen? What happened instead? What would you like to see changed?
With the above example, --output should not wrap at the word boundary. In this particular case, it should not wrap at all.
It may make sense to allow wrapping at whitespace. I'm not sure how much control CSS provides over this behavior, however.
What browser are you working in?
Chromium-based
Steps to reproduce the issue
-
Create a new paragraph in an MDX file using "default" layout. Here's the paragraph which reproduces the issue for me:
By default, the `redact` command will print its output to `STDOUT` (the terminal). Instead, let's use the `--output` option to write to a new file (smarties can also just ask their shell to redirect the output to a file): -
Reload the page and resize window if necessary to see wrapping of
--outputinline code
This might want to be tagged "usability" instead of "bug"; I'm not sure