diff --git a/striker-ui/components/Resource/ResourceVolumes.tsx b/striker-ui/components/Resource/ResourceVolumes.tsx index b041a893..25fe49ee 100644 --- a/striker-ui/components/Resource/ResourceVolumes.tsx +++ b/striker-ui/components/Resource/ResourceVolumes.tsx @@ -1,6 +1,5 @@ import * as prettyBytes from 'pretty-bytes'; -import { makeStyles } from '@material-ui/core/styles'; -import { Box } from '@material-ui/core'; +import { makeStyles, Box, Divider } from '@material-ui/core'; import InsertLinkIcon from '@material-ui/icons/InsertLink'; import { InnerPanel, PanelHeader } from '../Panels'; import { BodyText } from '../Text'; @@ -20,6 +19,7 @@ const useStyles = makeStyles((theme) => ({ paddingLeft: '.7em', paddingRight: '.7em', paddingTop: '1em', + paddingBottom: '.7em', }, bar: { paddingLeft: '.7em', @@ -35,6 +35,9 @@ const useStyles = makeStyles((theme) => ({ decoratorBox: { paddingRight: '.3em', }, + divider: { + background: DIVIDER, + }, })); const selectDecorator = (state: string): Colours => { @@ -78,22 +81,41 @@ const ResourceVolumes = ({ {volume.connections.map( (connection): JSX.Element => { return ( - - - + <> + + + + + + + + + + + + + + - - - - - + + ); }, )}