Fix index showing scrollbars
Now the navbar exists on the page, it needs to be accounted for when doing heights
This commit is contained in:
parent
b9953c9653
commit
4dde3e4bb1
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
|
|
||||||
$body-color: $gray-300;
|
$body-color: $gray-300;
|
||||||
|
$navbar-height: 40px;
|
||||||
|
|
||||||
|
|
||||||
html, body {
|
html, body {
|
||||||
|
@ -108,7 +109,7 @@ table td {
|
||||||
|
|
||||||
#index-header {
|
#index-header {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(100vh - #{$footer-height});
|
height: calc(100vh - #{$footer-height} - #{$navbar-height});
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
|
|
Loading…
Reference in a new issue