Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
- Form hint text is now shown with an italicized style and increased vertical margins. ([#262](https://github.com/18F/identity-style-guide/pull/262))
- Icons for form validation errors are aligned to the top ([#265](https://github.com/18F/identity-style-guide/pull/265))

### Bug Fixes

- Fix an issue where `.usa-input--error` would apply the incorrect border color unless also accompanied by `.usa-input`, `.usa-textarea`, or `.usa-select`. ([#275](https://github.com/18F/identity-style-guide/pull/275))

### Dependencies

- Upgraded USWDS from v2.12.1 to v2.12.2 (see [release notes](https://github.com/uswds/uswds/releases/tag/v2.12.2)) ([#269](https://github.com/18F/identity-style-guide/pull/269))
Expand Down
6 changes: 3 additions & 3 deletions src/scss/components/_inputs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ $input-select-margin-right: 1;
@include disable-default-focus-styles;
box-shadow: roundable-focus-outline-box-shadows();
}
}

&.usa-input--error {
@include u-border-color('error');
}
.usa-input--error {
@include u-border-color('error');
}

[type='search'],
Expand Down