21 |
{children}
22 | {substatus !== undefined &&
}
23 |
24 | );
25 |
26 | export default StatusIndicator;
27 |
--------------------------------------------------------------------------------
/ui/src/app/components/analysis-modal/styles.scss:
--------------------------------------------------------------------------------
1 | .tabs {
2 | min-height: 550px;
3 | margin-top: 16px !important; // antd override
4 |
5 | .ant-tabs-tab {
6 | padding-left: 0 !important; // antd override
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/ui/src/app/components/ellipsis-middle/ellipsis-middle.tsx:
--------------------------------------------------------------------------------
1 | import * as React from 'react';
2 | import {Typography} from 'antd';
3 |
4 | const {Text} = Typography;
5 | export const EllipsisMiddle: React.FC<{suffixCount: number; children: string; style: React.CSSProperties}> = ({suffixCount, children, style}) => {
6 | const start = children.slice(0, children.length - suffixCount).trim();
7 | const suffix = children.slice(-suffixCount).trim();
8 | return (
9 |