Skip to content

Commit

Permalink
Fix for duplicate catalog ids & dark mode svg fill applied to light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
clpetersonucf committed Feb 24, 2025
1 parent a5f69fa commit bbece18
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
6 changes: 2 additions & 4 deletions src/components/catalog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -306,14 +306,12 @@ const Catalog = ({widgets = [], isLoading = true}) => {
</div>
</div>
{ mobileFilterRender }
<div id='filters-container'
className={`ready ${state.showingFilters ? 'open' : 'closed'}`} aria-hidden={!state.showingFilters}>
<div className={`filters-container ready ${state.showingFilters ? 'open' : 'closed'}`} aria-hidden={!state.showingFilters}>
<div className='filter-labels-container' disabled={!state.showingFilters}>
{ filterOptionsRender }
</div>
</div>
<div id='filters-container'
className={`ready ${state.showingAccessibility ? 'open' : 'closed'}`} aria-hidden={!state.showingAccessibility}>
<div className={`filters-container ready ${state.showingAccessibility ? 'open' : 'closed'}`} aria-hidden={!state.showingAccessibility}>
<div className='filter-labels-container accessibility' disabled={!state.showingAccessibility}>
{ accessibilityOptionsRender }
</div>
Expand Down
10 changes: 5 additions & 5 deletions src/components/catalog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
cursor: pointer;
}

#filters-container {
.filters-container {
z-index: 1;
display: flex;
justify-content: space-between;
Expand Down Expand Up @@ -236,7 +236,7 @@
width: 16px;
height: auto;
margin-right: 6px;
fill: #fff;
fill: #000;
}
}
}
Expand Down Expand Up @@ -549,7 +549,7 @@
color: #3690e6;
}

#filters-container {
.filters-container {

.filter-labels-container {

Expand Down Expand Up @@ -693,7 +693,7 @@

@media (max-width: 960px) {
.catalog {
#filters-container {
.filters-container {
text-align: center;
margin: auto 0;

Expand Down Expand Up @@ -849,7 +849,7 @@
}
}

#filters-container {
.filters-container {
display: none;
}

Expand Down

0 comments on commit bbece18

Please sign in to comment.