forked from abner/for-legacy-web
fix: consider whether alert is present in height calc
parent
f185dec461
commit
569864167e
|
|
@ -149,11 +149,11 @@ export default function App() {
|
|||
<OverlappingPanels
|
||||
width="100vw"
|
||||
height={
|
||||
(statusBar ? "calc(" : "") +
|
||||
(alert && statusBar ? "calc(" : "") +
|
||||
(window.isNative && !window.native.getConfig().frame
|
||||
? "calc(var(--app-height) - var(--titlebar-height))"
|
||||
: "var(--app-height)") +
|
||||
(statusBar ? " - 40px)" : "")
|
||||
(alert && statusBar ? " - 40px)" : "")
|
||||
}
|
||||
leftPanel={
|
||||
inSpecial
|
||||
|
|
|
|||
Loading…
Reference in New Issue