Skip to content

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.

fix(website): fix scrolling (#3774)

Igor Dykhta47f13f1ee968
diff --git a/website/src/components/app.js b/website/src/components/app.js
index 6108990eb..25f538c1a 100644
--- a/website/src/components/app.js
+++ b/website/src/components/app.js
@@ -12,7 +12,7 @@ const GlobalStyleDiv = styled.div`
font-size: 0.875em;
line-height: 1.71429;
width: 100%;
- height: 100%;
+ min-height: 100%;
*,
*:before,
diff --git a/website/src/static/index.html b/website/src/static/index.html
index 6cc632888..c22801c67 100644
--- a/website/src/static/index.html
+++ b/website/src/static/index.html
@@ -43,7 +43,8 @@
</script>
<style>
- html, body, #root {margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden;}
+ html {margin: 0; padding: 0; width: 100%; min-height: 100%; overflow-x: hidden;}
+ body, #root {margin: 0; padding: 0; width: 100%; min-height: 100%;}
</style>
</head>
<body>