1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00
unleash.unleash/frontend/src/component/integrations/IntegrationList/IntegrationList.styles.tsx

13 lines
356 B
TypeScript
Raw Normal View History

import { styled } from '@mui/material';
export const StyledCardsGrid = styled('div')<{ small?: boolean }>(
({ theme, small = false }) => ({
gridTemplateColumns: `repeat(auto-fill, minmax(${
small ? '280px' : '350px'
}, 1fr))`,
gridAutoRows: '1fr',
gap: theme.spacing(2),
display: 'grid',
}),
);