mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
Using dhv instead of vh to take dynamic mobile height in consideration. See: https://stackoverflow.com/questions/37112218/css3-100vh-not-constant-in-mobile-browser #587 #44 #27 #615 #427
This commit is contained in:
parent
7ca7451a24
commit
0891215c3a
@ -79,6 +79,6 @@
|
||||
</div>
|
||||
<app-gallery-filter #filterComponent
|
||||
*ngIf="showFilters && ItemCount> 0"
|
||||
[style.height]="sanitizer.bypassSecurityTrustStyle('calc(100vh - '+(navigatorElement?.nativeElement?.getBoundingClientRect().top+navigatorElement?.nativeElement?.getBoundingClientRect().height)+'px)')"
|
||||
[style.height]="sanitizer.bypassSecurityTrustStyle('calc(100dvh - '+(navigatorElement?.nativeElement?.getBoundingClientRect().top+navigatorElement?.nativeElement?.getBoundingClientRect().height)+'px)')"
|
||||
|
||||
class="position-absolute w-100"></app-gallery-filter>
|
||||
|
Loading…
x
Reference in New Issue
Block a user