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

Improve vertical spacing in heading of Process List item spanning multiple lines #288

Merged
merged 3 commits into from
Feb 2, 2022

Conversation

aduth
Copy link
Member

@aduth aduth commented Jan 31, 2022

Why: So that headings do not appear excessively tight when spanning multiple lines.

This uses the theme-configured heading line-height variable ($theme-heading-line-height), replacing the hard-coded value of 2 from USWDS, which would previously result in a line-height of 1.1.

Live preview: https://federalist-2f194a10-945e-4413-be01-46ca6dae5358.app.cloud.gov/preview/18f/identity-style-guide/aduth-process-list-line-height/components/process-list/

Screenshots:

These are in context of the implementation of 18F/identity-idp#5863.

Before After
Screen Shot 2022-01-31 at 10 10 40 AM Screen Shot 2022-01-31 at 10 10 23 AM

…tiple lines

**Why**: So that headings do not appear excessively tight when spanning multiple lines.
Copy link
Member

@nickttng nickttng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Contributor

@anniehirshman-gsa anniehirshman-gsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent! 👍

@aduth aduth merged commit 3a05fb7 into main Feb 2, 2022
@aduth aduth deleted the aduth-process-list-line-height branch February 2, 2022 14:07
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.

3 participants