mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 23:22:06 -05:00
fix: consider whether alert is present in height calc
This commit is contained in:
parent
f185dec461
commit
569864167e
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue