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
|
||||
containerHeight = scope.clientHeight
|
||||
}
|
||||
globe.resize()
|
||||
globe.update()
|
||||
if (globe) {
|
||||
globe.resize()
|
||||
globe.update()
|
||||
}
|
||||
onScroll()
|
||||
}
|
||||
|
||||
|
||||
@@ -120,7 +120,7 @@
|
||||
margin-left: -60px;
|
||||
|
||||
@include breakpoint (sm) {
|
||||
margin-top: -224px;
|
||||
margin-top: -184px;
|
||||
}
|
||||
|
||||
span:nth-of-type(1) {
|
||||
|
||||
Reference in New Issue
Block a user