diff --git a/ritual/main.js b/ritual/main.js index d8932f1..643e88c 100644 --- a/ritual/main.js +++ b/ritual/main.js @@ -188,7 +188,8 @@ function setup() { if(window.innerWidth < 768){ var overflowContainer = document.querySelector('#grid'); console.log(overflowContainer) - overflowContainer.scrollLeft = width/2.75; + overflowContainer.scrollLeft = (((window.innerWidth * 2.9))/2 + 50)/1.45; + overflowContainer.scrollTop = 70; } } diff --git a/ritual/styles.css b/ritual/styles.css index a4f7e06..4803b47 100644 --- a/ritual/styles.css +++ b/ritual/styles.css @@ -221,9 +221,9 @@ main.on canvas{ pointer-events: none; display: none; position: fixed; - right: calc(50vw - 45px); + right: calc(50vw - 31px); z-index: 2; - bottom: 70px; + bottom: calc((100vh - 184px)/2); } main{ touch-action: none;