style(projects): wrap type filter chips in filter-card box
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user