Skip to content

Fix miscellaneous styling blemishes#5026

Merged
aduth merged 15 commits intomainfrom
aduth-styling-improvements
May 6, 2021
Merged

Fix miscellaneous styling blemishes#5026
aduth merged 15 commits intomainfrom
aduth-styling-improvements

Conversation

@aduth
Copy link
Copy Markdown
Contributor

@aduth aduth commented May 4, 2021

@anniehirshman-gsa and I spent some time yesterday morning pairing to discover and resolve a number of minor styling blemishes throughout the application. These are changes which on their own wouldn't warrant a dedicated ticket, but which may reflect poorly in the user's experience.

There's a bunch of changes here, some of which are larger than others. I'm happy to split this up into a few smaller pull requests if it's easier to review.

Screenshots:

Use consistent separator styles for colored horizontal rule (13f911b)

Before After
b-colored-separator-before b-colored-separator-after

Remove serif style from fieldset legend (f8464d0)

Before After
b-serif-before b-serif-after

Remove inconsistent "other option" label for backup code MFA (4aa8deb)

Before After
b-backup-another-option-before b-backup-another-option-after

Remove H5 styling from Cancel links (df1ac49)

Before After
b-cancel-before b-cancel-after

Add missing period in GPO alternative option text (66a68e0)

Before After
b-gpo-before b-gpo-after

Increase default mobile container padding (f9eb874)

Before After
b-mobile-before b-mobile-after

Improve consistency of IAL2 cancellation screens (f7e86b5)

Before After
b-verify-cancel-before b-verify-cancel-after
b-verify-cancel-2-before b-verify-cancel-2-after

Increase spacing on review step (bcc120c)

Before After
b-verify-before b-verify-after

Increase spacing on "Add Phone" screens (6ab7c14)

Before After
b-phone-setup-before b-phone-setup-after

Fix header excess spacing (f1bcd8c)

Before After
b-account-header-before b-account-header-after
b-account-header-mobile-before b-account-header-mobile-after

Set form group override styles to preserve label margin (0a83b20)

Before After
b-error-group-before b-error-group-after

aduth added 13 commits May 4, 2021 11:26
**Why**: Consistency with other labels
**Why**: Consistent text with other MFA options
**Why**: Avoid inappropriate use of heading styles, and ensure consistency across links
**Why**: All images should have an alternative text, even if empty for decorative images
**Why**: Since the margin will be the same for small and large viewport displays, it can be set once using the unprefixed class.
**Why**: Because these are two independent sentences.
**Why**: Design choice. Previously we had implemented ad hoc adjustments to achieve this effect based on design mockups, particularly in alerts for document capture and SSN steps in the IAL2 flow.
**Why**: To appear more in line with other warning screens that the user may see in this flow.
**Why**: So that page elements aren't bumping into each other as much.
**Why**: Minimize use of utility classes and inherit default typographical spacing (to be further improved later)
**Why**: So that the header elements correctly appear as vertically centered
**Why**: Avoid bumping with preceding element when shown as error, since it's expected the form group would handle the margin.
@aduth aduth requested a review from anniehirshman-gsa May 4, 2021 19:38
Copy link
Copy Markdown
Contributor

@zachmargolis zachmargolis 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
Copy Markdown
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.

LGTM! 💯

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
@aduth aduth merged commit a1fbfb6 into main May 6, 2021
@aduth aduth deleted the aduth-styling-improvements branch May 6, 2021 13:14
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