Fix body min-height to new vh

remotes/1693176582716663532/tmp_refs/heads/watchparty
Outrun Colors 2022-09-25 18:31:50 -05:00
parent 87236d0566
commit f9022827a9
No known key found for this signature in database
GPG Key ID: 0426976DCEFE6073
2 changed files with 4 additions and 8 deletions

View File

@ -1,6 +1,6 @@
{
"name": "chat",
"version": "0.1.6",
"version": "0.1.7",
"main": "./src/index.tsx",
"license": "MIT",
"dependencies": {

View File

@ -9,7 +9,7 @@ html {
}
body {
min-height: 100vh;
min-height: calc(var(--vh, 1vh) * 100);
overflow: hidden;
/* mobile viewport bug fix */
min-height: -webkit-fill-available;
@ -53,7 +53,7 @@ body {
position: relative;
flex: 3;
height: 62vh;
height: calc(var(--vh, 1vh) * 75);
height: calc(var(--vh, 1vh) * 72);
max-height: 1000px;
overflow: auto;
-ms-overflow-style: none;
@ -115,12 +115,8 @@ body {
padding-left: 1rem;
}
.App-content {
height: calc(var(--vh, 1vh) * 70);
}
.App-content__reduced {
height: calc(var(--vh, 1vh) * 58);
height: calc(var(--vh, 1vh) * 65);
}
}