Globe: Add opacity option, Part globe WIP

- Don't run the onScroll method on load, creates a funky translate otherwise
- Bind window innerHeight via Svelte
- Path scroll smoothing option value as prop
This commit is contained in:
2020-04-21 09:46:27 +02:00
parent c9ba6a9f29
commit 65c9822b73
6 changed files with 62 additions and 33 deletions

View File

@@ -92,7 +92,11 @@
}
// Globe
// .globe {
// }
.globe--part {
margin-top: 72px;
@include breakpoint (sm) {
margin-top: 136px;
}
}
}