style(projects): wrap type filter chips in filter-card box

This commit is contained in:
2026-08-16 23:00:13 +02:00
parent a5f6ccc75b
commit 6c3c43ef4f
3 changed files with 23 additions and 9 deletions
@@ -18,13 +18,16 @@
</ng-template>
<ng-template #additionalFiltersTmp>
<mat-chip-listbox
[value]="urlChips()"
(change)="handleChipBoxChange($event)"
multiple
style="padding: 0rem 1rem">
<mat-chip-option value="eu">EU</mat-chip-option>
<mat-chip-option value="bund">BUND</mat-chip-option>
<mat-chip-option value="dfg">DFG</mat-chip-option>
</mat-chip-listbox>
<div class="additional-filters">
<app-filter-card>
<mat-chip-listbox
[value]="urlChips()"
(change)="handleChipBoxChange($event)"
multiple>
<mat-chip-option value="eu">EU</mat-chip-option>
<mat-chip-option value="bund">BUND</mat-chip-option>
<mat-chip-option value="dfg">DFG</mat-chip-option>
</mat-chip-listbox>
</app-filter-card>
</div>
</ng-template>
@@ -4,3 +4,12 @@
gap: 1rem;
padding: 1rem;
}
.additional-filters {
display: flex;
padding: 0 1rem;
app-filter-card {
min-height: 90px;
}
}
@@ -14,6 +14,7 @@ import {
Page,
} from '../../shared/ui/card-search/card-search.component';
import { FilterObserver } from '../../shared/ui/selected-filters/selected-filters.component';
import { FilterCardComponent } from '../../shared/ui/filter-card/filter-card.component';
@Component({
selector: 'app-projects',
@@ -26,6 +27,7 @@ import { FilterObserver } from '../../shared/ui/selected-filters/selected-filter
MatChipsModule,
CardSearchComponent,
AppProjectCardComponent,
FilterCardComponent,
],
templateUrl: './projects.component.html',
styleUrl: './projects.component.scss',