Skip to content

Commit

Permalink
try to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amirbashan committed Jan 26, 2025
1 parent 14a58d0 commit 705d67b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
30 changes: 15 additions & 15 deletions projects/srm/src/app/page/page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,21 @@
</app-results-drawer>
</div>
}
@if (layout.desktop() && searchParams) {
<app-search-results-page
[class.visible]='layout.desktop() && stage === "search-results"'
[searchParams]='searchParams'
[serachResultsActive]="stage === 'search-results'"
[didYouMean]='didYouMean'
[searchState]='searchState'
[filtersState]='filtersState'
[areaSearchState]='areaSearchState'
(zoomout)='zoomOutMap($event)'
(visibleCount)='visibleCount = $event'
(nationalCount)='nationalCount = $event'
(hoverCard)='hoverCard($event)'
></app-search-results-page>
}

<app-search-results-page
*ngIf='layout.desktop() && searchParams'
[class.selected]='stage === "search-results"'
[searchParams]='searchParams'
[serachResultsActive]="stage === 'search-results'"
[didYouMean]='didYouMean'
[searchState]='searchState'
[filtersState]='filtersState'
[areaSearchState]='areaSearchState'
(zoomout)='zoomOutMap($event)'
(visibleCount)='visibleCount = $event'
(nationalCount)='nationalCount = $event'
(hoverCard)='hoverCard($event)'
/>
@if (stage === 'point') {
<app-branch-container
[cardId]='card'
Expand Down
6 changes: 5 additions & 1 deletion projects/srm/src/app/page/page.component.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
height: 100%;

}

.selected {
display: flex;
}

.page-container {
position: absolute;
top: 0;
Expand Down Expand Up @@ -89,7 +94,6 @@
&.visible {
display: flex;
}

.content {
display: none;

Expand Down

0 comments on commit 705d67b

Please sign in to comment.