refactor(system): 实现表格自适应高度布局,抽离通用滚动工具hooks
1. 新增useTableScroll组合式函数,动态计算表格滚动高度 2. 改造多个系统页面布局为弹性伸缩容器,解决页面滚动问题 3. 统一表格滚动配置,优化页面视觉体验
This commit is contained in:
1 parent
cbc0a936b7
commit
4048aeb6fb
7 files changed
+234
-4
No files matched your search
@@ -409,13 +409,17 @@ function handleUserMenuClick({ key }: { key: string }) {
|
||||
|
||||
.content {
|
||||
margin: 0;
|
||||
min-height: calc(100vh - 64px);
|
||||
height: calc(100vh - 64px);
|
||||
overflow: hidden;
|
||||
|
||||
.view-wrapper {
|
||||
background: #fff;
|
||||
padding: 0;
|
||||
border-radius: 0;
|
||||
min-height: calc(100vh - 64px);
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user