mirror of
https://github.com/revoltchat/revite.git
synced 2025-02-23 00:31:13 -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
|
<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…
Add table
Reference in a new issue