1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Improve filter responsiveness #287 #improvement

This commit is contained in:
Braun Patrik 2022-02-19 15:16:51 +01:00 committed by Patrik J. Braun
parent fbae2e77d2
commit 8665e17deb

View File

@ -1,6 +1,6 @@
<div class="card bg-light filter-container"> <div class="card bg-light filter-container">
<div class="card-body row "> <div class="card-body row ">
<div class="col-3" *ngFor="let filter of filterService.selectedFilters | async; let i=index"> <div class="col-12 col-md-6 col-lg-3 mt-1" *ngFor="let filter of filterService.selectedFilters | async; let i=index">
<select [(ngModel)]="filter.filter" <select [(ngModel)]="filter.filter"
(ngModelChange)="filterService.onFilterChange()" (ngModelChange)="filterService.onFilterChange()"
class="form-control" id="gallery-filter-{{i}}"> class="form-control" id="gallery-filter-{{i}}">