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:
@@ -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()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user