Skip to content

Commit

Permalink
UHF-11235: Adjusted spacing a to be a bit more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
teroelonen committed Feb 7, 2025
1 parent c3c629f commit 66d173a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/css/styles.min.css

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions src/scss/06_components/forms/_react-forms.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.hdbt-search__filter {
margin-bottom: $spacing-and-half;
}

// Checkbox styles need specific selectors to override HDS styles
.hdbt-search__filter.hdbt-search__checkbox {
--background-unselected: transparent;
Expand All @@ -13,16 +17,13 @@
--icon-color-selected: var(--hdbt-text-color);
--icon-color-disabled: var(--hdbt-text-color);
--focus-outline-color: var(--hdbt-color-black);
margin-bottom: $spacing-half;
}

.hdbt-search__filter.hdbt-search__checkbox label {
font-weight: $font-weight-regular;
}

.hdbt-search__filter {
margin-bottom: $spacing-and-half;
}

// Override HDBTs li+li
.hdbt-search__filter li {
margin-top: 0;
Expand Down Expand Up @@ -201,7 +202,7 @@ fieldset .hdbt-search--react__checkbox {
}

fieldset .hdbt-search--react__checkbox:not(:first-of-type) {
margin-top: $spacing-double;
margin-top: $spacing-and-half;

@include breakpoint($breakpoint-l) {
margin-left: $spacing;
Expand Down

0 comments on commit 66d173a

Please sign in to comment.