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

fix: add line break for long words, like variable names #256

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

victorgaard
Copy link
Contributor

Why?

On Docs/SDK/Overview, there is a layout break from long unique words like variables that can be greater than the device width. This PR fixes this by forcing line break on word level.

Before:
image

After:
image

Tickets?

Contribution checklist?

  • The commit messages are detailed
  • The build command runs locally
  • Assets or static content are linked and stored in the project
  • Document filename is named after the slug
  • You've reviewed spelling using a grammar checker
  • For documentation, guides or references, you've tested the commands and steps
  • You've done enough research before writing

Security checklist?

  • Sensitive data has been identified and is being protected properly
  • Injection has been prevented (parameterized queries, no eval or system calls)
  • The Components are escaping output (to prevent XSS)

References?

Optionally, provide references such as links

Preview?

Optionally, provide the preview url here

Copy link

changeset-bot bot commented Oct 7, 2024

⚠️ No Changeset found

Latest commit: ff39577

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@victorgaard victorgaard marked this pull request as ready for review October 7, 2024 18:49
Copy link
Member

@tobySolutions tobySolutions left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@victorgaard victorgaard merged commit d1c0c98 into develop Oct 7, 2024
5 checks passed
@victorgaard victorgaard deleted the fix/force-line-break-for-long-unique-words branch October 7, 2024 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants