1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-02-12 08:02:39 +00:00

set min-height to 100vh instead of %

This commit is contained in:
slowbackspace 2019-01-26 01:51:21 +01:00
parent 96510d54f8
commit 19f655dabd
3 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ import animationStyles from './Animations';
const baseStyles = createGlobalStyle`
html, body {
width: 100%;
height: 100%;
min-height: 100vh;
position: relative;
font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
font-weight: ${FONT_WEIGHT.NORMAL};
@ -43,7 +43,7 @@ const baseStyles = createGlobalStyle`
}
#trezor-wallet-root {
height: 100%;
min-height: 100vh;
}
${animationStyles};

View File

@ -18,7 +18,7 @@ type Props = {
}
const Wrapper = styled.div`
min-height: 100%;
min-height: 100vh;
display: flex;
flex-direction: column;

View File

@ -43,7 +43,7 @@ export type Props = StateProps & DispatchProps;
const AppWrapper = styled.div`
position: relative;
min-height: 100%;
min-height: 100vh;
display: flex;
flex-direction: column;
background: ${colors.BACKGROUND};