fix(status bar): calculate height correctly
parent
d8a75eceac
commit
55aef005b0
|
|
@ -138,9 +138,11 @@ export default function App() {
|
||||||
<OverlappingPanels
|
<OverlappingPanels
|
||||||
width="100vw"
|
width="100vw"
|
||||||
height={
|
height={
|
||||||
window.isNative && !window.native.getConfig().frame
|
(statusBar ? "calc(" : "") +
|
||||||
|
(window.isNative && !window.native.getConfig().frame
|
||||||
? "calc(var(--app-height) - var(--titlebar-height))"
|
? "calc(var(--app-height) - var(--titlebar-height))"
|
||||||
: "var(--app-height)"
|
: "var(--app-height)") +
|
||||||
|
(statusBar ? " - 40px)" : "")
|
||||||
}
|
}
|
||||||
leftPanel={
|
leftPanel={
|
||||||
inSpecial
|
inSpecial
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue