mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-09-28 19:31:59 +02:00
Use dvh for main height
This takes into account browser UI for the viewport calculation
This commit is contained in:
parent
4a1adaeab2
commit
d51ca20992
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ const Main = (props) => (
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
padding: 3,
|
padding: 3,
|
||||||
width: { sm: `calc(100% - ${Navigation.width}px)` },
|
width: { sm: `calc(100% - ${Navigation.width}px)` },
|
||||||
height: "100vh",
|
height: "100dvh",
|
||||||
overflow: "auto",
|
overflow: "auto",
|
||||||
backgroundColor: ({ palette }) => (palette.mode === "light" ? palette.grey[100] : palette.grey[900]),
|
backgroundColor: ({ palette }) => (palette.mode === "light" ? palette.grey[100] : palette.grey[900]),
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in a new issue