100dvh
This commit is contained in:
parent
fd62143705
commit
a2a6f17bbf
@ -296,7 +296,7 @@ const Overlay = styled.div`
|
||||
z-index: 9;
|
||||
overflow: auto;
|
||||
|
||||
height: 100dvh;
|
||||
height: 100svh;
|
||||
height: -webkit-fill-available;
|
||||
|
||||
div {
|
||||
@ -354,7 +354,7 @@ const Container = styled.main<{$fullHeight: boolean}>`
|
||||
h1 {
|
||||
padding-top: 10px;
|
||||
}
|
||||
height: ${({ $fullHeight }) => $fullHeight ? 'auto' : '100dvh'};
|
||||
height: ${({ $fullHeight }) => $fullHeight ? 'auto' : '100svh'};
|
||||
border-radius: ${({ $fullHeight }) => $fullHeight ? '0 0 8px 8px' : '0'};
|
||||
`)}
|
||||
`;
|
||||
|
||||
@ -17,11 +17,11 @@ export const GlobalStyle = createGlobalStyle`
|
||||
|
||||
html {
|
||||
overflow: hidden;
|
||||
height: 100dvh;
|
||||
height: 100svh;
|
||||
}
|
||||
|
||||
body {
|
||||
height: 100dvh;
|
||||
height: 100svh;
|
||||
background-color: ${({ theme }) => theme.colors.pageBg};
|
||||
background-image: url('/images/background-raspberry.png');
|
||||
background-repeat: no-repeat;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user