Skip to content

Commit 462181c

Browse files
authored
Merge pull request #933 from codeRIT/whitespace-fix
Possibly fixed whitespace margin on mobile
2 parents 80dd71b + e25cb6c commit 462181c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/index.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ html, body, #root, #app, .full-height {
8484
/*68 px is the current height of the nav bar
8585
will think of a better way to structure this later*/
8686
width: default;
87-
height: unquote("max(68px, 35px + 10vh)");
87+
height: unquote("max(68px, calc(35px + 10vh))");
8888
margin-left: 15px;
8989
}
9090
}
@@ -155,7 +155,8 @@ html, body, #root, #app, .full-height {
155155
scaling matching the mlh badge scaling for avg devices,
156156
high scaling for very tall devices
157157
*/
158-
margin-bottom: unquote("max(0px, 10vh - 40px, 0px, 30vh - 190px)");
158+
159+
margin-bottom: unquote("max(calc(0px), calc(10vh - 40px), calc(30vh - 190px))");
159160
}
160161
}
161162
.section {

0 commit comments

Comments
 (0)