Unverified Commit f9ff0aba authored by gaoyan's avatar gaoyan Committed by GitHub

[fix-#2777]Fix flink dag tooltip (#2803)

* fix log error * Fix flink dag tooltip
parent d1ad9c89
......@@ -17,17 +17,17 @@
*
*/
import { Card, Typography } from 'antd';
import {Card, Typography} from 'antd';
const { Text, Paragraph } = Typography;
const {Text, Paragraph} = Typography;
const DagPlanNode = (props: any) => {
const { node } = props;
const {node} = props;
const data: any = node?.getData();
return (
<Card
style={{ width: 270, padding: 0, margin: 0, height: 140 }}
style={{width: 270, padding: 0, margin: 0, height: 140}}
bordered={false}
size={'small'}
type={'inner'}
......@@ -35,7 +35,11 @@ const DagPlanNode = (props: any) => {
title={data.description}
extra={<Text keyboard>{data.parallelism}</Text>}
>
<Paragraph ellipsis={{ tooltip: data.description, rows: 3 }}>
<Paragraph
ellipsis={{
tooltip: {title: data.description, zIndex: 2000},
rows: 3
}}>
<blockquote>
<Text>{data.description}</Text>
</blockquote>
......
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