fix(status bar): calculate height correctly

This commit is contained in:
Paul Makles 2022-03-01 10:15:57 +00:00
parent b1a7a94d26
commit 094be08bbf

View file

@ -138,9 +138,11 @@ export default function App() {
<OverlappingPanels
width="100vw"
height={
window.isNative && !window.native.getConfig().frame
(statusBar ? "calc(" : "") +
(window.isNative && !window.native.getConfig().frame
? "calc(var(--app-height) - var(--titlebar-height))"
: "var(--app-height)"
: "var(--app-height)") +
(statusBar ? " - 40px)" : "")
}
leftPanel={
inSpecial