diff --git a/templates/header.tpl b/templates/header.tpl index 9b0a033..76db54c 100644 --- a/templates/header.tpl +++ b/templates/header.tpl @@ -11,6 +11,7 @@ var app = { user: JSON.parse('{{userJSON}}') }; + document.documentElement.style.setProperty('--panel-offset', `${localStorage.getItem('panelOffset') || 0}px`); {{{if useCustomHTML}}}