Skip to content

Commit

Permalink
fix: [M3-8796] - Disallow word-break in billing contact info (linode#…
Browse files Browse the repository at this point in the history
…11379)

* fix: [M3-8796] - Disallow word-break in billing contact info

* Added changeset: Disallow word-break in billing contact info
  • Loading branch information
hasyed-akamai authored Dec 10, 2024
1 parent 906e061 commit 57b884e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11379-fixed-1733476117431.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Disallow word-break in billing contact info ([#11379](https://github.com/linode/manager/pull/11379))
Original file line number Diff line number Diff line change
Expand Up @@ -216,15 +216,15 @@ export const ContactInformation = React.memo((props: Props) => {
{(firstName || lastName) && (
<StyledTypography
data-qa-contact-name
sx={{ wordBreak: 'break-all' }}
sx={{ wordBreak: 'keep-all' }}
>
{firstName} {lastName}
</StyledTypography>
)}
{company && (
<StyledTypography
data-qa-company
sx={{ wordBreak: 'break-all' }}
sx={{ wordBreak: 'keep-all' }}
>
{company}
</StyledTypography>
Expand Down

0 comments on commit 57b884e

Please sign in to comment.