1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00

Making settings menu to scroll down on visible nav bar #587, fixes #629

This commit is contained in:
Patrik J. Braun 2023-03-25 23:10:22 +01:00
parent 60387e9436
commit 46e6eeabf2

View File

@ -1,4 +1,4 @@
<app-frame>
<app-frame #frame>
<div body class="container-fluid">
<div class="card mb-4" *ngIf="notificationService.countedNotifications.length>0">
@ -61,7 +61,8 @@
<div class="row mt-2">
<div class="col-md-2 ">
<nav class="nav flex-column sticky-top z-0 pb-2">
<nav class="nav flex-column sticky-top z-0 pb-2"
[style]="frame.shouldHideNavbar ? '' : 'top:'+(frame.navContainer.nativeElement.offsetHeight)+'px; max-height:calc(100vh - '+(frame.navContainer.nativeElement.offsetHeight)+'px)'">
<div class="card">
<div class="card-body text-md-start text-center align-content-md-start align-content-center">
<h5 i18n="title of left card in settings page that contains settings contents" class="card-title">