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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix validation design #2994

Merged
merged 4 commits into from
Mar 27, 2019
Merged

Fix validation design #2994

merged 4 commits into from
Mar 27, 2019

Conversation

maya
Copy link
Contributor

@maya maya commented Mar 25, 2019

馃槑 Preview

Resolves #2993.

Before

Screen Shot 2019-03-25 at 11 12 19 AM

After

Screen Shot 2019-03-25 at 12 57 55 PM

Sketch file

Screen Shot 2019-03-25 at 11 15 58 AM

@@ -128,3 +128,15 @@ $padding-left: units($theme-alert-padding-x) + units($theme-alert-bar-width);
padding-left: 0;
}
}

.usa-alert--validation {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is validation a variant of alert?

Copy link
Member

Choose a reason for hiding this comment

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

hm... I guess it is!

}

.usa-checklist {
margin-top: units(2);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Margin is overruled when applied directly to .usa-checklist by .usa-alert ul so had to add a stronger selector.

@maya maya requested a review from a team March 25, 2019 20:08
@thisisdano thisisdano merged commit 33b8aea into release-2.0 Mar 27, 2019
@thisisdano thisisdano deleted the fix-validation-design branch March 27, 2019 20:24
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.

None yet

2 participants