refactor: Update resources to look as a stack (#4631)

This commit is contained in:
Bruno Quaresma
2022-10-18 15:52:47 -04:00
committed by GitHub
parent 906046c1cc
commit 5d7d8c3a9a
2 changed files with 12 additions and 1 deletions
@@ -210,6 +210,17 @@ const useStyles = makeStyles((theme) => ({
background: theme.palette.background.paper,
borderRadius: theme.shape.borderRadius,
border: `1px solid ${theme.palette.divider}`,
"&:not(:first-child)": {
borderTop: 0,
borderTopLeftRadius: 0,
borderTopRightRadius: 0,
},
"&:not(:last-child)": {
borderBottomLeftRadius: 0,
borderBottomRightRadius: 0,
},
},
resourceCardProfile: {
+1 -1
View File
@@ -54,7 +54,7 @@ export const Resources: FC<React.PropsWithChildren<ResourcesProps>> = ({
}
return (
<Stack direction="column" spacing={1}>
<Stack direction="column" spacing={0}>
{displayResources.map((resource) => {
return (
<ResourceCard