Fix borked scroll animation

This commit is contained in:
Dan Abramov
2023-12-08 00:48:59 +00:00
parent cc34ae9b82
commit 163c2d25c1
3 changed files with 2 additions and 3 deletions
-1
View File
@@ -33,7 +33,6 @@
}
html {
scroll-behavior: smooth;
/* Prevent text size change on orientation change https://gist.github.com/tfausak/2222823#file-ios-8-web-app-html-L138 */
-webkit-text-size-adjust: 100%;
height: calc(100% + env(safe-area-inset-top));
+2 -1
View File
@@ -172,7 +172,8 @@ function InviteCodes() {
const styles = StyleSheet.create({
rightNav: {
position: 'absolute',
// @ts-ignore web only
position: 'fixed',
// @ts-ignore web only
left: 'calc(50vw + 320px)',
width: 304,
-1
View File
@@ -37,7 +37,6 @@
}
html {
scroll-behavior: smooth;
/* Prevent text size change on orientation change https://gist.github.com/tfausak/2222823#file-ios-8-web-app-html-L138 */
-webkit-text-size-adjust: 100%;
height: calc(100% + env(safe-area-inset-top));