Quellcode durchsuchen

UI: fix scrollbar in navigation sidebar

Signed-off-by: Nicola Murino <[email protected]>
Nicola Murino vor 10 Monaten
Ursprung
Commit
497c70012f
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  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}}