This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
.products-page {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
overflow: hidden; /* 唯一滚动源 = scroll-view,整页绝不兜底滚动 */
|
||||
background: #f2f2f2;
|
||||
}
|
||||
|
||||
@@ -16,12 +16,13 @@
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
/* 右侧容器 - 自动占满剩余宽度(高度自动撑开,内部由 ProductGrid 自己滚动) */
|
||||
/* 右侧容器 - 自动占满剩余宽度(高度自动撑开,内部由 ProductGrid 自己滚动)
|
||||
flex:1 与 height:100% 冲突,必须二选一,否则 flex 链路断裂 */
|
||||
.right-wrap {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user