Skip to content

Fix broken card layout caused by long strings#762

Merged
JohnONolan merged 1 commit into
mainfrom
fix-broken-card-laout-with-long-strings
Mar 11, 2021
Merged

Fix broken card layout caused by long strings#762
JohnONolan merged 1 commit into
mainfrom
fix-broken-card-laout-with-long-strings

Conversation

@PaulAdamDavis

Copy link
Copy Markdown
Member

If the text content of a post card contains a long string with no breaks, it causes the grid layout to break.

This PR adds word-break: break-word; to .post-card-excerpt p to break the text onto multiple lines as appropriate.

Before

Screenshot 2021-03-11 at 15 45 20

After

Screenshot 2021-03-11 at 15 45 30

@JohnONolan JohnONolan merged commit c0d5a3d into main Mar 11, 2021
@JohnONolan JohnONolan deleted the fix-broken-card-laout-with-long-strings branch March 11, 2021 18:33
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