diff --git a/templates/common/base.html b/templates/common/base.html index da444d54..f203a48c 100644 --- a/templates/common/base.html +++ b/templates/common/base.html @@ -353,6 +353,8 @@ explicit grant from the SFTPGo Team (support@sftpgo.com). }); initLocalizer(); + // Workaround to fix scrollbar in navigation sidebar. + window.dispatchEvent(new Event('resize')); }); {{- end}} diff --git a/templates/common/login.html b/templates/common/login.html index e35fe382..45964f4b 100644 --- a/templates/common/login.html +++ b/templates/common/login.html @@ -77,7 +77,9 @@ explicit grant from the SFTPGo Team (support@sftpgo.com). {{- end}} + {{- if or (.AltLoginURL) (gt (len .Languages) 1) (and .Branding.DisclaimerName .Branding.DisclaimerPath)}}