Skip to content

Commit

Permalink
UHF-8590: Add back important rule to override hds inline styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremysteerio committed Aug 16, 2023
1 parent c430faf commit 3030e33
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/css/styles.min.css

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions src/scss/06_components/forms/_react-forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ button.hdbt-search__remove-selection-button:not(:disabled) {
}

// Remove margin from pill buttons
.hdbt-search__remove-selection-icon {
margin: 0;
.hdbt-search__clear-all [class*='button_hds-button__label'] ~ [class*='button_hds-icon'],
[class*='button_hds-button'] [class*='button_hds-icon'] {
// Use important to override hds styles
margin: 0 !important;
}

0 comments on commit 3030e33

Please sign in to comment.