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 badge code and guidance #81

Merged
merged 5 commits into from
May 31, 2019
Merged

add badge code and guidance #81

merged 5 commits into from
May 31, 2019

Conversation

lauraGgit
Copy link

No description provided.

@lauraGgit lauraGgit requested a review from donjo May 30, 2019 15:40
border-radius: $theme-border-radius-xxl;
box-sizing: border-box;
display: inline-block;
padding: units(1) units(2);
Copy link
Contributor

Choose a reason for hiding this comment

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

USWDS has some globally available spacing units so I swapped the space variables to these. https://v2.designsystem.digital.gov/design-tokens/spacing-units/

Copy link
Author

Choose a reason for hiding this comment

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

ah nice!

The unphishable badge is used to indicate that an account is only using security keys as its MFA method.

{% capture example %}
<div class="lg-verification-badge">
Copy link
Contributor

Choose a reason for hiding this comment

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

I restructured this to be an img and span inside a div to make it easier to use the vertical-alignment controls.

Copy link
Author

Choose a reason for hiding this comment

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

ah that makes sense

@lauraGgit lauraGgit merged commit 6c4a081 into master May 31, 2019
@juliaelman juliaelman deleted the lg/add-badge branch January 15, 2021 20:30
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