mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-05 17:00:42 +08:00
fix: top endpoints table overflow
This commit is contained in:
parent
4f3bb95a77
commit
f22d5f0fbd
@ -15,7 +15,7 @@ import MetricReducer from 'types/reducer/metrics';
|
||||
|
||||
import { Card, Col, GraphContainer, GraphTitle, Row } from '../styles';
|
||||
import TopEndpointsTable from '../TopEndpointsTable';
|
||||
import { Button } from './styles';
|
||||
import { Button, TableContainerCard } from './styles';
|
||||
|
||||
function Application({ getWidget }: DashboardProps): JSX.Element {
|
||||
const { servicename } = useParams<{ servicename?: string }>();
|
||||
@ -232,9 +232,9 @@ function Application({ getWidget }: DashboardProps): JSX.Element {
|
||||
</Col>
|
||||
|
||||
<Col span={12}>
|
||||
<Card>
|
||||
<TableContainerCard>
|
||||
<TopEndpointsTable data={topEndPoints} />
|
||||
</Card>
|
||||
</TableContainerCard>
|
||||
</Col>
|
||||
</Row>
|
||||
</>
|
||||
|
@ -1,6 +1,8 @@
|
||||
import { Button as ButtonComponent } from 'antd';
|
||||
import styled from 'styled-components';
|
||||
|
||||
import { Card } from '../styles';
|
||||
|
||||
export const Button = styled(ButtonComponent)`
|
||||
&&& {
|
||||
position: absolute;
|
||||
@ -8,3 +10,6 @@ export const Button = styled(ButtonComponent)`
|
||||
display: none;
|
||||
}
|
||||
`;
|
||||
export const TableContainerCard = styled(Card)`
|
||||
overflow-x: scroll;
|
||||
`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user