Skip to content

[11.x] Add word-break to mail links - #53906

Merged
taylorotwell merged 1 commit into
laravel:11.xfrom
seblavoie:patch-1
Dec 16, 2024
Merged

[11.x] Add word-break to mail links#53906
taylorotwell merged 1 commit into
laravel:11.xfrom
seblavoie:patch-1

Conversation

@seblavoie

@seblavoie seblavoie commented Dec 15, 2024

Copy link
Copy Markdown
Contributor

The default email template's layout breaks when it contains long links. I suggest adding the css property word-break: break-all; on links in the .inner-body to fix this issue.

See the before and after in these screenshots:

Before
mail-before

After
mail-after

@github-actions

Copy link
Copy Markdown

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@seblavoie
seblavoie marked this pull request as ready for review December 15, 2024 17:24
@seblavoie seblavoie changed the title Adding word-break to mail links [11.x] Add word-break to mail links Dec 15, 2024
@taylorotwell
taylorotwell merged commit 37d48c4 into laravel:11.x Dec 16, 2024
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