mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-28 18:00:59 -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
|
<OverlappingPanels
|
||||||
width="100vw"
|
width="100vw"
|
||||||
height={
|
height={
|
||||||
(statusBar ? "calc(" : "") +
|
(alert && statusBar ? "calc(" : "") +
|
||||||
(window.isNative && !window.native.getConfig().frame
|
(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)" : "")
|
(alert && statusBar ? " - 40px)" : "")
|
||||||
}
|
}
|
||||||
leftPanel={
|
leftPanel={
|
||||||
inSpecial
|
inSpecial
|
||||||
|
|
Loading…
Reference in a new issue