1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-14 11:47:33 +00:00

Use dvh for main height

This takes into account browser UI for the viewport calculation
This commit is contained in:
nimbleghost 2023-06-26 23:36:04 +02:00
parent 4a1adaeab2
commit d51ca20992

View file

@ -118,7 +118,7 @@ const Main = (props) => (
flexDirection: "column",
padding: 3,
width: { sm: `calc(100% - ${Navigation.width}px)` },
height: "100vh",
height: "100dvh",
overflow: "auto",
backgroundColor: ({ palette }) => (palette.mode === "light" ? palette.grey[100] : palette.grey[900]),
}}