diff --git a/src/shared/setupWebPage.js b/src/shared/setupWebPage.js index f4be0a950..e6cc4389d 100644 --- a/src/shared/setupWebPage.js +++ b/src/shared/setupWebPage.js @@ -194,8 +194,8 @@ function applyInitialState() { * Set CSS variable for --header-height */ function applyHeaderHeight() { - document.body.style.setProperty('--header-height', `${TITLE_BAR_HEIGHT}px`, 'important') - document.documentElement.style.setProperty('--header-height', `${TITLE_BAR_HEIGHT}px`, 'important') + document.body.style.setProperty('--header-height', `${TITLE_BAR_HEIGHT}px`) + document.documentElement.style.setProperty('--header-height', `${TITLE_BAR_HEIGHT}px`) } /**