default sidebar width 25%

This commit is contained in:
Matthias Wirth
2020-01-17 23:27:21 +01:00
parent 4c0c3ac1e8
commit c2ee2d86b7

View File

@@ -551,6 +551,9 @@ function init_page() {
if (localStorage['sidebar_width'] != null)
$('#sidebar_container').width(localStorage['sidebar_width']);
else
$('#sidebar_container').width('25%');
if ($('#sidebar_container').width() > $(window).innerWidth() *0.8)
$('#sidebar_container').width('30%');