Skip to content

Commit

Permalink
changed grid size
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Petrucci committed Nov 23, 2023
1 parent e91c122 commit 904c991
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions webapp/src/components/ItemGrid/ItemGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ const ItemGrid: React.FC<{
) : (
services.map((item: any, index: number) => {
return (
<Grid xs={12} sm={6} xl={4} key={index}
<Grid xs={12} sm={6} lg={4} xl={3} key={index}
sx={{height: 'auto', minHeight: '200px'}}>
<Card
sx={{height: '100%', display: 'flex', flexDirection: 'column'}}
Expand Down Expand Up @@ -333,7 +333,7 @@ const ItemGrid: React.FC<{
) : (
pipelines.map((item: any, index: number) => {
return (
<Grid xs={12} sm={6} xl={4} key={index}
<Grid xs={12} sm={6} lg={4} xl={3} key={index}
sx={{height: 'auto', minHeight: '200px'}}>
<Card
sx={{height: '100%', display: 'flex', flexDirection: 'column'}}
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/LoadingGrid/LoadingGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const LoadingGrid: React.FC = () => {
return (
<Grid container spacing={4}>
{Array.from(new Array(3)).map((_, index) => (
<Grid item xs={12} sm={6} xl={4} sx={{height: 'auto', minHeight: '200px'}} key={index}>
<Grid item xs={12} sm={6} lg={4} xl={3} sx={{height: 'auto', minHeight: '200px'}} key={index}>
<Card sx={{height: '100%', display: 'flex', flexDirection: 'column'}}>
<CardContent>
<Skeleton variant={"rounded"} width={"60%"} height={32}/>
Expand Down

0 comments on commit 904c991

Please sign in to comment.