mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
fix(status bar): calculate height correctly
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user