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

Add break word to contact class #2082

Merged
merged 1 commit into from
Apr 21, 2021
Merged

Conversation

owenatgov
Copy link
Contributor

What

Adds a word-wrap css class to .contact

Why

bandaid fix for issues with the contacts block on this page.

Visual changes

Before After
Screenshot 2021-04-21 at 16 18 06 Screenshot 2021-04-21 at 16 18 12

Note

This is a very quick fix and does not solve the root problem that whitehall is using a single partial to render similar information for 2 different use cases (the other use case). Notably, the instance seen here is using a heading above the contacts section which has been agreed as bad for accessibility. This should be investigated and amended ASAP.

@bevanloon bevanloon temporarily deployed to government-f-add-break--9799up April 21, 2021 15:24 Inactive
@owenatgov owenatgov merged commit a7947c3 into master Apr 21, 2021
@owenatgov owenatgov deleted the add-break-word-to-contact-class branch April 21, 2021 15:43
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.

4 participants