Fixes the expansion panel layout
This commit is contained in:
parent
beaf629f1c
commit
9b9f256cfd
@ -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">
|
||||
|
@ -1,45 +1,40 @@
|
||||
div.indent {
|
||||
margin-left: 24px;
|
||||
}
|
||||
|
||||
mat-divider {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.filter-menu {
|
||||
.filter-menu-content-wrapper {
|
||||
overflow-y: scroll;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.mat-expansion-panel {
|
||||
width: 400px;
|
||||
max-width: 95vw;
|
||||
}
|
||||
|
||||
.filter-count {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.filter-subtitle {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
opacity: 0.9;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.filter-child {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
mat-checkbox {
|
||||
// adds breaks to mat-checkboxes with long labels
|
||||
.mat-checkbox-layout {
|
||||
white-space: normal;
|
||||
div.indent {
|
||||
margin-left: 24px;
|
||||
}
|
||||
|
||||
// rather than center the checkbox, put the checkbox in the first line
|
||||
.mat-checkbox-inner-container {
|
||||
margin-top: 3px;
|
||||
.mat-expansion-panel {
|
||||
width: 400px;
|
||||
max-width: 95vw;
|
||||
}
|
||||
|
||||
.filter-count {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.filter-subtitle {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
opacity: 0.9;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.filter-child {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
mat-checkbox {
|
||||
// adds breaks to mat-checkboxes with long labels
|
||||
.mat-checkbox-layout {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
// rather than center the checkbox, put the checkbox in the first line
|
||||
.mat-checkbox-inner-container {
|
||||
margin-top: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user