apify-docs
apify-docs copied to clipboard
Wrap text in CLI command reference to avoid the horizontal scrollbars
When you look e.g. to https://docs.apify.com/cli/docs/reference#apify-pull-actorid, the text of commands is hidden under horizontal scroll bars:
That's a pretty bad developer experience...
FYI there is a button for this already when you hover over the code block:
Docusaurus currently does not allow to control the default globally (and I'd argue it would be a good thing to do for all the code blocks).
https://github.com/facebook/docusaurus/discussions/7769 https://github.com/facebook/docusaurus/issues/7875
I guess we could introduce a new custom component that would always wrap and use that selectively.