Merged PR 1592: #3730 Article Search Results Order By Adjustments

#3730 Article Search Results Order By Adjustments
This commit is contained in:
Nino Righi
2023-07-13 15:23:42 +00:00
committed by Lorenz Hilpert
parent 310395d166
commit e18b9a4200
3 changed files with 3 additions and 16 deletions

View File

@@ -39,11 +39,7 @@
</div>
<div class="page-search-results__order-by" [class.page-search-results__order-by-main]="mainOutletActive$ | async">
<shared-order-by-filter
[groupBy]="(mainOutletActive$ | async) ? [2, 2, 2] : []"
[orderBy]="(filter$ | async)?.orderBy"
(selectedOrderByChange)="search(); updateBreadcrumbs()"
>
<shared-order-by-filter [orderBy]="(filter$ | async)?.orderBy" (selectedOrderByChange)="search(); updateBreadcrumbs()">
</shared-order-by-filter>
</div>

View File

@@ -16,11 +16,7 @@
}
.page-search-results__order-by {
@apply bg-white rounded px-6 desktop-small:px-8;
}
.page-search-results__order-by-main {
@apply pl-[4.9375rem] px-4;
@apply bg-white rounded px-4;
}
.page-search-results__filter {
@@ -47,11 +43,6 @@
::ng-deep page-search-results .page-search-results__order-by-main shared-order-by-filter {
@apply grid grid-flow-col justify-items-start gap-x-4 justify-start;
grid-template-columns: 37.5% 32.5% 20% auto;
.group {
@apply desktop-small:justify-start;
}
.order-by-filter-button {
@apply ml-0 mr-7;

View File

@@ -3,7 +3,7 @@
}
.order-by-filter-button {
@apply bg-transparent outline-none border-none text-p2 font-bold flex flex-row justify-center items-center;
@apply bg-transparent outline-none border-none text-p2 font-bold flex flex-row justify-center items-center text-[#0556B4];
}
::ng-deep .tablet shared-order-by-filter .order-by-filter-button {