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

Wrap text in CLI command reference to avoid the horizontal scrollbars #780

Open
jancurn opened this issue Dec 5, 2023 · 1 comment
Open
Labels
content Content writing, help to marketing, and other related tasks. t-tooling Issues with this label are in the ownership of the tooling team. UX User experience issue

Comments

@jancurn
Copy link
Member

jancurn commented Dec 5, 2023

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:

Screenshot 2023-12-05 at 11 32 17

That's a pretty bad developer experience...

@jancurn jancurn added content Content writing, help to marketing, and other related tasks. UX User experience issue labels Dec 5, 2023
@B4nan
Copy link
Member

B4nan commented Dec 7, 2023

FYI there is a button for this already when you hover over the code block:

image

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).

facebook/docusaurus#7769
facebook/docusaurus#7875

I guess we could introduce a new custom component that would always wrap and use that selectively.

@mtrunkat mtrunkat added the t-tooling Issues with this label are in the ownership of the tooling team. label Dec 11, 2023
@mtrunkat mtrunkat added the t-docs Issues owned by technical writing team. label Mar 21, 2024
@TC-MO TC-MO removed the t-docs Issues owned by technical writing team. label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Content writing, help to marketing, and other related tasks. t-tooling Issues with this label are in the ownership of the tooling team. UX User experience issue
Projects
None yet
Development

No branches or pull requests

4 participants