Skip to content

Commit

Permalink
Improve compatibility/precision for badge styles
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed May 7, 2024
1 parent 61f75b4 commit 4a0875a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## Unreleased

### Breaking Changes

- Remove support for deprecation notices in v9.2.0:
- Badge component markup has been updated. ([#442](https://github.com/18F/identity-design-system/pull/442))

## 9.2.0

### Improvements
Expand Down
3 changes: 1 addition & 2 deletions src/scss/packages/usa-verification-badge/src/_styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
padding: units(1) units(2);
white-space: nowrap;

img, // BREAKING: Remove `img` in next major release
svg {
.usa-icon {
margin-right: units(1);
}
}

0 comments on commit 4a0875a

Please sign in to comment.