From c1c85b020d37ac15e33a9cd76546face4eef84d5 Mon Sep 17 00:00:00 2001 From: Jason Date: Tue, 25 Nov 2025 16:25:08 +0800 Subject: [PATCH] fix(ui): disable overscroll bounce effect on main view Prevents the top border line from being pulled down when scrolling past the top of the page by setting overscroll-behavior: none on html. --- src/index.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.css b/src/index.css index cff0addc3..0d52728cc 100644 --- a/src/index.css +++ b/src/index.css @@ -139,6 +139,8 @@ html { line-height: 1.5; /* 让原生控件与滚动条随主题切换配色 */ color-scheme: light; + /* 禁用 overscroll 回弹效果,防止下拉时顶部边框被拉下来 */ + overscroll-behavior: none; } body {