Commit d67211cf by zhaochengxiang

适配面包屑

parent 0b58dda8
@header-height: 64px; @header-height: 64px;
@breadcrumb-height: 37px;
@pm-4: 30px; @pm-4: 30px;
@pm-3: 20px; @pm-3: 20px;
@scroll-height: 15px; @scroll-height: 15px;
......
...@@ -559,13 +559,13 @@ const AssetTable = (props) => { ...@@ -559,13 +559,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 - 182px - 72px)'; scrollY = 'calc(100vh - 219px - 72px)';
} else if (reference===AssetManageReference) { } else if (reference===AssetManageReference) {
scrollY = 'calc(100vh - 182px - 123px - 15px - 72px)'; scrollY = 'calc(100vh - 219px - 123px - 15px - 72px)';
} else if (reference===AssetBrowseReference||reference===ResourceBrowseReference) { } else if (reference===AssetBrowseReference||reference===ResourceBrowseReference) {
scrollY = 'calc(100vh - 182px - 94px - 15px - 72px)'; scrollY = 'calc(100vh - 219px - 94px - 15px - 72px)';
} else if (reference===AssetRecycleReference) { } else if (reference===AssetRecycleReference) {
scrollY = 'calc(100vh - 182px - 72px)'; scrollY = 'calc(100vh - 219px - 72px)';
} }
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
} }
.yy-tree{ .yy-tree{
height: calc(100vh - @header-height - 30px - 40px - 62px) !important; height: calc(100vh - @header-height - @breadcrumb-height - 30px - 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 - 30px - 62px) !important;; height: calc(100vh - @header-height - @breadcrumb-height - 30px - 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 - @pm-4 - @pm-3 - 33px) !important; height: calc(100vh - @header-height - @breadcrumb-height - @pm-4 - @pm-3 - 33px) !important;
overflow: auto !important; overflow: auto !important;
} }
} }
\ No newline at end of file
...@@ -745,7 +745,7 @@ const ModelTable = (props) => { ...@@ -745,7 +745,7 @@ const ModelTable = (props) => {
}, },
} }
}} }}
scroll={{ y: modelId?null:((filterData||[]).length===0?null:'calc(100vh - 94px - 57px - 24px - 38px - 44px)') }} scroll={{ y: modelId?null:((filterData||[]).length===0?null:'calc(100vh - 131px - 57px - 24px - 38px - 44px)') }}
onChange={onTableChange} onChange={onTableChange}
expandable={expandable} expandable={expandable}
/> />
......
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