Skip to content

Commit

Permalink
Merge pull request #194 from digitalnsw/bug/filters-overflow
Browse files Browse the repository at this point in the history
Bug/filters overflow
  • Loading branch information
anna-yeshtukova authored Dec 9, 2021
2 parents ea3ccf6 + 4101592 commit 49b118d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/components/filters/_filters.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.nsw-filters {
.nsw-filters {
.nsw-layout__sidebar & {
margin: rem(-8px) 0 rem(-16px) 0;

Expand Down Expand Up @@ -49,7 +49,7 @@
&.active {
.nsw-material-icons {
background-color: var(--nsw-brand-dark);
color: var(--nsw-text-light);
color: var(--nsw-text-light);
}
}
}
Expand Down Expand Up @@ -129,7 +129,7 @@
}
}

&__cancel {
&__cancel {
padding-bottom: rem(32px);

.nsw-filters--fixed & {
Expand All @@ -153,7 +153,7 @@
}

&__more,
&__less {
&__less {
@include link-button;
margin-top: rem(24px);
}
Expand All @@ -165,4 +165,8 @@

.filters-open {
overflow: hidden;

@include breakpoint('lg') {
overflow: unset;
}
}

0 comments on commit 49b118d

Please sign in to comment.