From f773ee7ad17a82a7009478a96b74691cd4b7d0ee Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Fri, 19 Jan 2024 02:28:30 +0000 Subject: [PATCH] scrollbar --- bskyweb/templates/base.html | 1 + web/index.html | 1 + 2 files changed, 2 insertions(+) diff --git a/bskyweb/templates/base.html b/bskyweb/templates/base.html index 46ff71ac94..0fdddc7d8c 100644 --- a/bskyweb/templates/base.html +++ b/bskyweb/templates/base.html @@ -36,6 +36,7 @@ /* 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)); + scrollbar-gutter: stable both-edges; } /* Color theming */ diff --git a/web/index.html b/web/index.html index 4224f28bf0..c187f5054a 100644 --- a/web/index.html +++ b/web/index.html @@ -40,6 +40,7 @@ /* 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)); + scrollbar-gutter: stable both-edges; } /* Color theming */