Merge pull request #431 from PKC278/v2

This commit is contained in:
jxxghp
2026-01-16 23:28:52 +08:00
committed by GitHub
3 changed files with 8 additions and 3 deletions

View File

@@ -94,7 +94,6 @@
<style>
#app {
block-size: 100%;
overflow: auto;
-webkit-overflow-scrolling: touch;
overscroll-behavior: contain;
}

View File

@@ -224,7 +224,9 @@ export default defineComponent({
.layout-page-content {
// display: flex;
overflow: hidden;
// 使用 clip 替代 hidden避免 Chrome 144+ 滚动锁定问题
overflow-x: clip;
overflow-y: auto;
.page-content-container {
inline-size: 100%;

View File

@@ -13,6 +13,8 @@ html {
body {
background: rgb(var(--v-theme-background));
overscroll-behavior-y: contain;
// Chrome 144+ 兼容性:覆盖 Vuetify 的内联 overflow: hidden 样式
overflow: visible !important;
--webkit-overflow-scrolling: touch;
}
@@ -35,7 +37,9 @@ body,
.layout-page-content {
@include mixins.boxed-content(true);
overflow: hidden;
// Chrome 144+ 兼容性:使用 clip 替代 hidden避免滚动锁定问题
// overflow: hidden 在新版 Chrome 中可能意外阻止垂直滚动
overflow: clip;
flex-grow: 1;
// TODO: Use grid gutter variable here;