Skip to content

Commit

Permalink
Merge pull request #84 from brianseek/sidebar-regression-fixes
Browse files Browse the repository at this point in the history
Fixed regression of other sidebars with new filter-bar class.
  • Loading branch information
iris-i authored Feb 11, 2025
2 parents c8393a4 + 3bf7652 commit 0a6ee57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/components/view--goal-search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default function GoalsSearchView({ filters, goals, total, description }:
</div>
<div className={`position-relative ${filtersOpen ? "container-open" : ""}`}>
<div className="grid-row flex-row flex-align-center padding-x-205 padding-y-105 bg-white search-goals--container">
<div className={`side-bar position-absolute ${filtersOpen ? "" : "filters-closed"}`}>
<div className={`side-bar filter-bar position-absolute ${filtersOpen ? "" : "filters-closed"}`}>
<ViewGoalFacets handleSearch={handleSearch} handleClose={toggleFilters} />
</div>
{!filtersOpen && (
Expand Down
4 changes: 4 additions & 0 deletions src/frontend/styles/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ $goals-gray: rgba(202, 204, 216, 1);
min-height: 100%;
width: 394px;
max-width: 394px;
padding: 24px;
}

.filter-bar {
padding: 0 24px 24px;
border-right: 1px solid $goals-gray;
position: absolute;
Expand Down

0 comments on commit 0a6ee57

Please sign in to comment.