Commit e5bd2f20 by zhaochengxiang

模型简介调整

parent 0d6fb11e
......@@ -172,4 +172,24 @@ tr.drop-over-upward td {
.ReactVirtualized__Grid, .ReactVirtualized__List {
outline: none;
}
\ No newline at end of file
}
.tooltip-common {
max-width: 450px;
max-height: 700px;
.yy-popover-inner-content {
padding: 8px !important;
}
.yy-table-thead > tr > th, .yy-table-tbody > tr > td {
font-size: 13px !important;
padding: 4px 8px !important;
}
.yy-descriptions-item-label, .yy-descriptions-item-content {
color: #fff !important;
}
}
......@@ -71,9 +71,9 @@ const ModelNameColumn = (props) => {
}
return (
<Popover
content={_textComponent}
overlayClassName='model-digest-popover'
<Tooltip
title={_textComponent}
overlayClassName='tooltip-common'
onVisibleChange={(visible) => {
if (visible && !record.digest) {
dispatch({
......@@ -92,7 +92,7 @@ const ModelNameColumn = (props) => {
<a onClick={()=>{detailItem(record);}}>
{text||''}
</a>
</Popover>
</Tooltip>
);
}
......@@ -238,7 +238,7 @@ const ModelTable = (props) => {
sortDirections: ['ascend', 'descend'],
render: (text, _, __) => {
return (
<Tooltip title={text||''}>
<Tooltip title={text||''} overlayClassName='tooltip-common'>
<span>{text||''}</span>
</Tooltip>
);
......
......@@ -36,16 +36,6 @@
}
}
.model-digest-popover {
.yy-popover-inner-content {
padding: 8px !important;
}
.yy-table-thead > tr > th, .yy-table-tbody > tr > td {
font-size: 13px !important;
}
}
.excel-copy-descritpion {
.yy-descriptions-row > td {
padding-bottom: 0px !important;
......
......@@ -77,7 +77,7 @@ const PartitionCURD = (props) => {
ellipsis: true,
render: (text, _, __) => {
return (
<Tooltip title={text||''}>
<Tooltip title={text||''} overlayClassName='tooltip-common'>
<span>{text||''}</span>
</Tooltip>
)
......
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