mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-02 10:21:16 +08:00
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.
This commit is contained in:
@@ -139,6 +139,8 @@ html {
|
|||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
/* 让原生控件与滚动条随主题切换配色 */
|
/* 让原生控件与滚动条随主题切换配色 */
|
||||||
color-scheme: light;
|
color-scheme: light;
|
||||||
|
/* 禁用 overscroll 回弹效果,防止下拉时顶部边框被拉下来 */
|
||||||
|
overscroll-behavior: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|||||||
Reference in New Issue
Block a user