Globe: Fix things

- Fix margin bottom on big screens
- Would throw an error on page change (globe is not defined)
This commit is contained in:
2020-04-21 10:10:48 +02:00
parent 5409ccd7ab
commit 174025f958
2 changed files with 5 additions and 3 deletions

View File

@@ -41,8 +41,10 @@
containerTop = getPosition(scope).top containerTop = getPosition(scope).top
containerHeight = scope.clientHeight containerHeight = scope.clientHeight
} }
globe.resize() if (globe) {
globe.update() globe.resize()
globe.update()
}
onScroll() onScroll()
} }

View File

@@ -120,7 +120,7 @@
margin-left: -60px; margin-left: -60px;
@include breakpoint (sm) { @include breakpoint (sm) {
margin-top: -224px; margin-top: -184px;
} }
span:nth-of-type(1) { span:nth-of-type(1) {