SparkSplat-Viewer / app /src /index.css
Jeprary
fix: disable native touch and pull-to-refresh on mobile
a4e0e8e
Raw
History Blame Contribute Delete
730 Bytes
@tailwind base;
@tailwind components;
@tailwind utilities;
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body, #root {
width: 100%;
height: 100%;
overflow: hidden;
background: black;
touch-action: none;
overscroll-behavior: none;
}
@keyframes chrome-enter {
from {
opacity: 0;
transform: translateY(-0.5rem);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.chrome-enter {
animation: chrome-enter 180ms ease-out both;
}
@keyframes chrome-enter-center {
from {
opacity: 0;
transform: translate(-50%, -0.5rem);
}
to {
opacity: 1;
transform: translate(-50%, 0);
}
}
.chrome-enter-center {
animation: chrome-enter-center 180ms ease-out both;
}