浏览代码

UI: fix scrollbar in navigation sidebar

Signed-off-by: Nicola Murino <[email protected]>
Nicola Murino 9 月之前
父节点
当前提交
497c70012f
共有 1 个文件被更改,包括 2 次插入0 次删除
  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}}