mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
refactor: Update resources to look as a stack (#4631)
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user