fix(web): restore mobile scrolling outside Telegram (#358)

This commit is contained in:
Qihan
2026-03-25 05:37:48 +08:00
committed by GitHub
parent 6384697b03
commit acda983e02
7 changed files with 25 additions and 7 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ export default function FilePage() {
</div>
) : null}
<div className="flex-1 overflow-y-auto">
<div className="app-scroll-y flex-1">
<div className="mx-auto w-full max-w-content p-4">
{diffErrorMessage ? (
<div className="mb-3 rounded-md bg-amber-500/10 p-2 text-xs text-[var(--app-hint)]">
+1 -1
View File
@@ -390,7 +390,7 @@ export default function FilesPage() {
</div>
) : null}
<div className="flex-1 overflow-y-auto">
<div className="app-scroll-y flex-1">
<div className="mx-auto w-full max-w-content">
{showGitErrorBanner && activeTab === 'changes' ? (
<div className="border-b border-[var(--app-divider)] bg-amber-500/10 px-3 py-2 text-xs text-[var(--app-hint)]">
+1 -1
View File
@@ -191,7 +191,7 @@ export default function SettingsPage() {
</div>
</div>
<div className="flex-1 overflow-y-auto">
<div className="app-scroll-y flex-1">
<div className="mx-auto w-full max-w-content">
{/* Language section */}
<div className="border-b border-[var(--app-divider)]">