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

CodeBlock: Fix line wrapping so overflowing strings wrap #1798

Merged
merged 4 commits into from
Nov 10, 2023

Conversation

KristinLBradley
Copy link
Contributor

@KristinLBradley KristinLBradley commented Nov 10, 2023

📌 Summary

If merged, this PR will add a style so that overflowing strings will be forced to wrap when @hasLineWrapping is true.

Showcase: https://hds-showcase-git-code-block-make-overflow-wrap-hashicorp.vercel.app/components/code-block

🔗 External links

Issues, RFC, etc.
Jira ticket: HDS-XXX
Figma file: [if it applies] -->


👀 Component checklist

  • Percy was checked for any visual regression
  • A11y tests have been run locally (yarn test:a11y --filter="COMPONENT-NAME")
  • If documenting a new component, an acceptance test that includes the a11yAudit has been added
  • A changelog entry was added via Changesets if needed (see templates here)

💬 Please consider using conventional comments when reviewing this PR.

Copy link

vercel bot commented Nov 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
hds-showcase ✅ Ready (Inspect) Visit Preview Nov 10, 2023 4:57pm
hds-website ✅ Ready (Inspect) Visit Preview Nov 10, 2023 4:57pm

Copy link
Contributor

@didoo didoo left a comment

Choose a reason for hiding this comment

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

Left a suggestion for the changelog message, but apart from that all good.

.changeset/wicked-items-guess.md Outdated Show resolved Hide resolved
alex-ju

This comment was marked as resolved.

Co-authored-by: Cristiano Rastelli <cristiano.rastelli@hashicorp.com>
@KristinLBradley

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants