Fixes the expansion panel layout

This commit is contained in:
GabrielMeyer 2019-09-04 10:53:23 +02:00
parent beaf629f1c
commit 9b9f256cfd
2 changed files with 34 additions and 39 deletions

View File

@ -1,4 +1,4 @@
<div class="filter-menu">
<div class="filter-menu-content-wrapper">
<mat-accordion (keyup)="checkKeyEvent($event)">
<mat-expansion-panel *ngFor="let filter of service.filterDefinitions">
<mat-expansion-panel-header *ngIf="filter.options && filter.options.length">

View File

@ -1,15 +1,9 @@
div.indent {
margin-left: 24px;
}
mat-divider {
margin-top: 5px;
margin-bottom: 5px;
}
.filter-menu {
.filter-menu-content-wrapper {
overflow-y: scroll;
height: 100%;
div.indent {
margin-left: 24px;
}
.mat-expansion-panel {
@ -43,3 +37,4 @@ mat-checkbox {
margin-top: 3px;
}
}
}