mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-27 21:10:49 +00:00
Use percent-based sizing for body min-height; add explicit height to the html element.
This commit is contained in:
parent
5cafee4879
commit
97c5e33f54
1 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@
|
|||
html {
|
||||
//font-size: 62.5%;
|
||||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
|
@ -29,7 +30,7 @@ body {
|
|||
line-height: @line-height-base;
|
||||
color: @text-color;
|
||||
background-color: @body-bg;
|
||||
min-height: 100vh;
|
||||
min-height: 100%;
|
||||
position: relative;
|
||||
padding-top: @header-height;
|
||||
padding-bottom: @footer-height;
|
||||
|
|
Loading…
Reference in a new issue