mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-21 15:09:43 +00:00
feature:
移动端w-full
This commit is contained in:
@@ -102,6 +102,6 @@ function updateHeaderHeight () {
|
||||
if (window) {
|
||||
const headerElement = document.getElementById('header')
|
||||
console.log(headerElement, window.innerHeight)
|
||||
headerElement.style.setProperty('height', window.innerHeight + 'px')
|
||||
headerElement?.style?.setProperty('height', window.innerHeight + 'px')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user