fix
This commit is contained in:
parent
b4336ad8c2
commit
59e59bd37e
@ -40,7 +40,9 @@ const root = document.documentElement;
|
|||||||
root.style.setProperty(
|
root.style.setProperty(
|
||||||
"--statusBarHeight",
|
"--statusBarHeight",
|
||||||
`${
|
`${
|
||||||
currentWebView.RunTime === "app" ? plus.navigator.getStatusbarHeight() : 0
|
currentWebView.RunTime === "app"
|
||||||
|
? plus.navigator.getStatusbarHeight()
|
||||||
|
: 0 ?? 0
|
||||||
}px`
|
}px`
|
||||||
);
|
);
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user