fix(explorer): mobile explorer toggle (#1823)
| | |
| | | } |
| | | } |
| | | |
| | | const hiddenUntilDoneLoading = document.querySelector("#mobile-explorer") |
| | | const hiddenUntilDoneLoading = document.querySelector(".mobile-explorer") |
| | | hiddenUntilDoneLoading?.classList.remove("hide-until-loaded") |
| | | }) |
| | | |
| | |
| | | flex: 0 0 34px; |
| | | |
| | | & > .explorer-content { |
| | | transform: translateX(-100vw); |
| | | visibility: hidden; |
| | | transform: translateX(0); |
| | | visibility: visible; |
| | | } |
| | | } |
| | | |
| | |
| | | flex: 0 0 34px; |
| | | |
| | | & > .explorer-content { |
| | | transform: translateX(0); |
| | | visibility: visible; |
| | | transform: translateX(-100vw); |
| | | visibility: hidden; |
| | | } |
| | | } |
| | | |
| | |
| | | background-color: var(--light); |
| | | max-width: 100vw; |
| | | width: 100%; |
| | | transform: translateX(-100vw); |
| | | transform: translateX(0); |
| | | transition: |
| | | transform 200ms ease, |
| | | visibility 200ms ease; |