mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
[HIMA-1044] Remission dropdown filter style adjustment
This commit is contained in:
@@ -414,10 +414,10 @@ export class RemissionFilterItemComponent implements OnInit, OnDestroy, AfterVie
|
|||||||
if (this.expanded && this.windowHeight && this.filterItem) {
|
if (this.expanded && this.windowHeight && this.filterItem) {
|
||||||
const b = this.filterItem.nativeElement.getBoundingClientRect().bottom;
|
const b = this.filterItem.nativeElement.getBoundingClientRect().bottom;
|
||||||
const h = this.windowHeight - b - 85;
|
const h = this.windowHeight - b - 85;
|
||||||
this.renderer.setStyle(this.filterList.nativeElement, 'height', `${h}px`);
|
this.renderer.setStyle(this.filterList.nativeElement, 'max-height', `${h}px`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.renderer.removeStyle(this.filterList.nativeElement, 'height');
|
this.renderer.removeStyle(this.filterList.nativeElement, 'max-height');
|
||||||
}
|
}
|
||||||
|
|
||||||
public closeNotCurrentFilters(id: string) {
|
public closeNotCurrentFilters(id: string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user