Преглед на файлове

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}}