diff --git a/src/components/Table.styled.ts b/src/components/Table.styled.ts new file mode 100644 index 00000000..65414135 --- /dev/null +++ b/src/components/Table.styled.ts @@ -0,0 +1,6 @@ +import styled from 'styled-components' + +export const StyledDiv = styled.div` + overflow-x: auto; + padding-bottom: 15px; +` diff --git a/src/components/Table.tsx b/src/components/Table.tsx index 99d10f92..1f4b4593 100644 --- a/src/components/Table.tsx +++ b/src/components/Table.tsx @@ -1,6 +1,7 @@ import { Chip } from '@equinor/eds-core-react' -import { EdsDataGrid } from '@equinor/eds-data-grid-react' import { useGetAnalogueModels } from '../hooks/useGetAnalogueModels' +import * as Styled from './Table.styled' +import { EdsDataGrid } from '@equinor/eds-data-grid-react' export const Table = () => { const { data: models } = useGetAnalogueModels() @@ -8,54 +9,56 @@ export const Table = () => { if (!models) return
Loading...
return ( -