mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-21 22:50:59 -05:00
fix(status bar): calculate height correctly
This commit is contained in:
parent
b1a7a94d26
commit
094be08bbf
1 changed files with 4 additions and 2 deletions
|
@ -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 a new issue