mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-31 05:01:58 +08:00
fix: Antd tab issue (#507)
* fix(CSS): antd css tab issue is resolved * removing redudant css
This commit is contained in:
parent
55feec34ea
commit
d825fc2f30
@ -1,18 +0,0 @@
|
|||||||
.ant-space-item {
|
|
||||||
margin-right: 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#chart svg {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
#chart {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-tabs-tab {
|
|
||||||
margin: 0 0 0 32px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-tabs-nav-list > .ant-tabs-tab:first-child {
|
|
||||||
margin: 0 !important;
|
|
||||||
}
|
|
@ -1,5 +1,4 @@
|
|||||||
import './wdyr';
|
import './wdyr';
|
||||||
import 'assets/index.css';
|
|
||||||
|
|
||||||
import AppRoutes from 'AppRoutes';
|
import AppRoutes from 'AppRoutes';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
@ -4,10 +4,12 @@
|
|||||||
.hide {
|
.hide {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.ant-tabs-nav-list {
|
|
||||||
|
/* .ant-tabs-nav-list {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
} */
|
||||||
|
|
||||||
.ant-table-body table {
|
.ant-table-body table {
|
||||||
margin-bottom: 64px;
|
margin-bottom: 64px;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,13 @@
|
|||||||
import './TraceGanttChart.css';
|
import './TraceGanttChart.css';
|
||||||
|
|
||||||
import { Button, Col, Progress, Row, Table, Tabs } from 'antd';
|
import {
|
||||||
|
Button,
|
||||||
|
Col,
|
||||||
|
Progress,
|
||||||
|
Row,
|
||||||
|
Table as TableComponent,
|
||||||
|
Tabs,
|
||||||
|
} from 'antd';
|
||||||
import { has, isEmpty, max } from 'lodash-es';
|
import { has, isEmpty, max } from 'lodash-es';
|
||||||
import traverseTreeData from 'modules/Traces/TraceGanttChart/TraceGanttChartHelpers';
|
import traverseTreeData from 'modules/Traces/TraceGanttChart/TraceGanttChartHelpers';
|
||||||
import React, { useEffect, useRef, useState } from 'react';
|
import React, { useEffect, useRef, useState } from 'react';
|
||||||
@ -17,6 +24,13 @@ const StyledButton = styled(Button)`
|
|||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
const Table = styled(TableComponent)`
|
||||||
|
.ant-tabs-nav-list {
|
||||||
|
width: 100%;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
interface TraceGanttChartProps {
|
interface TraceGanttChartProps {
|
||||||
treeData: pushDStree[];
|
treeData: pushDStree[];
|
||||||
clickedSpan: pushDStree;
|
clickedSpan: pushDStree;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user