fix(status bar): calculate height correctly
parent
d8a75eceac
commit
55aef005b0
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue