mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-02 01:17:58 +02:00
https://linear.app/unleash/issue/UNL-309/1500px-width-ui-issues UI fixes, improvements and adjustments related to the recent increase in width on the UI. Tried to follow the feature flag logic wherever it made sense.   Co-authored-by: Nicolae <nicolae@getunleash.ai>
13 lines
356 B
TypeScript
13 lines
356 B
TypeScript
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',
|
|
}),
|
|
);
|