Bladeren bron

UI: fix scrollbar in navigation sidebar

Signed-off-by: Nicola Murino <[email protected]>
Nicola Murino 9 maanden geleden
bovenliggende
commit
497c70012f
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2 0
      templates/common/base.html

+ 2 - 0
templates/common/base.html

@@ -341,6 +341,8 @@ explicit grant from the SFTPGo Team ([email protected]).
 		});
 
         initLocalizer();
+        // Workaround to fix scrollbar in navigation sidebar.
+        window.dispatchEvent(new Event('resize'));
 	});
 </script>
 {{- end}}