diff --git a/CHANGELOG.md b/CHANGELOG.md index ea1a1de7..03c7093a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 5.0.2 + +### Bug Fixes + +- Fix the appearance of unstyled buttons to appear visually identical to a link. + ## 5.0.1 ### Bug Fixes diff --git a/package-lock.json b/package-lock.json index b3f12854..3958dfff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "identity-style-guide", - "version": "5.0.1", + "version": "5.0.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 04f56d8d..05eea4c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "identity-style-guide", - "version": "5.0.1", + "version": "5.0.2", "description": "The global style of login.gov", "main": "./build/cjs/index.js", "module": "./build/esm/index.js", diff --git a/src/scss/components/_buttons.scss b/src/scss/components/_buttons.scss index 8ad06317..0f0d4e4e 100644 --- a/src/scss/components/_buttons.scss +++ b/src/scss/components/_buttons.scss @@ -19,7 +19,6 @@ // Since we override base button styles, we must re-apply the unstyled button styles. @include button-unstyled; position: relative; - text-underline-offset: 3px; // USWDS currently only sets hover and active unstyled button styles for the browser-native // states, and not with the modifier classes. It also does not apply these styles to the disabled @@ -31,7 +30,8 @@ &.usa-button--active, &:disabled, &.usa-button--disabled { - @include no-knockout-font-smoothing; + -moz-osx-font-smoothing: inherit; + -webkit-font-smoothing: inherit; background-color: transparent; box-shadow: none; text-decoration: underline;