diff options
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/cover_photo_widget.tpl | 4 | ||||
-rw-r--r-- | view/tpl/navbar_default.tpl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/view/tpl/cover_photo_widget.tpl b/view/tpl/cover_photo_widget.tpl index 7333f2d4c..e7fe1effc 100644 --- a/view/tpl/cover_photo_widget.tpl +++ b/view/tpl/cover_photo_widget.tpl @@ -89,14 +89,14 @@ function coverVisibleActions() { $('body').css('cursor', 'n-resize'); $('.navbar').removeClass('fixed-top'); - $('main').css('margin-top', - $('nav').outerHeight(true) + 'px'); + //$('main').css('margin-top', - $('nav').outerHeight(true) + 'px'); $('main').css('opacity', 0); } function coverHiddenActions() { $('body').css('cursor', ''); $('.navbar').addClass('fixed-top'); - $('main').css('margin-top', ''); + //$('main').css('margin-top', ''); $('main').css('opacity', 1); } </script> diff --git a/view/tpl/navbar_default.tpl b/view/tpl/navbar_default.tpl index c6f350b09..ed243c103 100644 --- a/view/tpl/navbar_default.tpl +++ b/view/tpl/navbar_default.tpl @@ -1,4 +1,4 @@ -<nav class="navbar fixed-top navbar-expand-lg bg-body-tertiary" {{$navbar_color_mode}}> +<nav id="navbar-top" class="navbar navbar-expand-lg sticky-top bg-body-tertiary mb-4" {{$navbar_color_mode}}> <div class="container-fluid flex-nowrap"> {{if $userinfo}} <div class="d-flex" style="max-width: 50%"> |