From 7c501921da5133eab1dd68b5428a3b3babcc5ab9 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 8 Aug 2022 16:03:42 -0400 Subject: [PATCH] fix: move panel-offset code back into persona header --- templates/header.tpl | 1 + 1 file changed, 1 insertion(+) 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}}}