Commit 7411b6be by zhaochengxiang

调整大小

parent c60ede33
@header-height: 64px; @header-height: 64px;
@breadcrumb-height: 37px; @breadcrumb-height: 32px;
@pm-4: 30px; @pm-4: 30px;
@pm-3: 20px; @pm-3: 20px;
@scroll-height: 15px; @scroll-height: 15px;
......
...@@ -631,13 +631,13 @@ const AssetTable = (props) => { ...@@ -631,13 +631,13 @@ const AssetTable = (props) => {
let scrollY = null; let scrollY = null;
if ((assets||[]).length>0) { if ((assets||[]).length>0) {
if (fullScreen) { if (fullScreen) {
scrollY = 'calc(100vh - 219px - 72px)'; scrollY = 'calc(100vh - 209px - 72px)';
} else if (reference===AssetManageReference||reference===ResourceBrowseReference) { } else if (reference===AssetManageReference||reference===ResourceBrowseReference) {
scrollY = 'calc(100vh - 219px - 123px - 15px - 72px)'; scrollY = 'calc(100vh - 209px - 123px - 15px - 72px)';
} else if (reference===AssetBrowseReference) { } else if (reference===AssetBrowseReference) {
scrollY = 'calc(100vh - 219px - 94px - 15px - 72px)'; scrollY = 'calc(100vh - 209px - 94px - 15px - 72px)';
} else if (reference===AssetRecycleReference) { } else if (reference===AssetRecycleReference) {
scrollY = 'calc(100vh - 219px - 72px)'; scrollY = 'calc(100vh - 209px - 72px)';
} }
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
} }
.yy-tree{ .yy-tree{
height: calc(100vh - @header-height - @breadcrumb-height - 30px - 40px - 62px) !important; height: calc(100vh - @header-height - @breadcrumb-height - 25px - 40px - 62px) !important;
overflow: auto !important; overflow: auto !important;
} }
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
.asset-tree-read-only { .asset-tree-read-only {
.yy-tree { .yy-tree {
height: calc(100vh - @header-height - @breadcrumb-height - 30px - 62px) !important;; height: calc(100vh - @header-height - @breadcrumb-height - 25px - 62px) !important;;
overflow: auto !important; overflow: auto !important;
} }
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.datasource-manage { .datasource-manage {
.list-container { .list-container {
height: calc(100vh - @header-height - @breadcrumb-height - @pm-4 - @pm-3 - 33px) !important; height: calc(100vh - @header-height - @breadcrumb-height - 25px - @pm-3 - 33px) !important;
overflow: auto !important; overflow: auto !important;
} }
} }
\ No newline at end of file
...@@ -751,7 +751,7 @@ const ModelTable = (props) => { ...@@ -751,7 +751,7 @@ const ModelTable = (props) => {
}, },
} }
}} }}
scroll={{ y: modelId?null:((filterData||[]).length===0?null:'calc(100vh - 131px - 57px - 24px - 38px - 44px)') }} scroll={{ y: modelId?null:((filterData||[]).length===0?null:'calc(100vh - 121px - 57px - 24px - 38px - 44px)') }}
onChange={onTableChange} onChange={onTableChange}
expandable={expandable} expandable={expandable}
/> />
......
@import '../../../../variables.less'; @import '../../../../variables.less';
.model-tree { .model-tree {
.yy-tree-list { .yy-tree-list {
height: calc(100vh - @header-height - @pm-4 - 57px - @pm-3) !important; height: calc(100vh - @header-height - @breadcrumb-height - 25px - 57px - @pm-3) !important;
overflow: auto !important; overflow: auto !important;
} }
} }
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
.tree-toggle-wrap { .tree-toggle-wrap {
position: relative; position: relative;
width: 20px; width: 20px;
height: calc(100vh - 94px); height: '100%';
.tree-toggle { .tree-toggle {
display: flex; display: flex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment