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