diff --git a/frontend/src/container/MetricsApplication/Tabs/Application.tsx b/frontend/src/container/MetricsApplication/Tabs/Application.tsx index 09370793ab..bc072d5c97 100644 --- a/frontend/src/container/MetricsApplication/Tabs/Application.tsx +++ b/frontend/src/container/MetricsApplication/Tabs/Application.tsx @@ -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 { - + - + diff --git a/frontend/src/container/MetricsApplication/Tabs/styles.ts b/frontend/src/container/MetricsApplication/Tabs/styles.ts index 017ab95419..500e2b9b74 100644 --- a/frontend/src/container/MetricsApplication/Tabs/styles.ts +++ b/frontend/src/container/MetricsApplication/Tabs/styles.ts @@ -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; +`;