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 responsive tables #636

Merged
merged 1 commit into from
Dec 1, 2023
Merged

Fix responsive tables #636

merged 1 commit into from
Dec 1, 2023

Conversation

crftwrk
Copy link
Member

@crftwrk crftwrk commented Nov 24, 2023

Theme uses

body {
  word-break: break-word;
}

as recommended by WordPress to handle edge cases https://dev.bootscore.me/2009/10/05/title-should-not-overflow-the-content-area/.

As result, words break in tables and responsive tables aren't responsive. Adding white-space: nowrap; to tables to each breakpoint solves this.

Before After
break-word white-space

@justinkruit if you like it, merge it.

@justinkruit justinkruit merged commit 07559a9 into main Dec 1, 2023
@justinkruit justinkruit deleted the Fix-responsive-tables branch December 1, 2023 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants