Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 4x 7x 4x | import styled, { css } from 'styled-components'; import media from 'styled-media-query'; export const Container = styled.div` ${({ theme }) => css` width: 100%; display: grid; gap: ${theme.spacings.xsmall}; grid-template-columns: repeat(auto-fit, minmax(12.8rem, 1fr)); ${media.greaterThan('small')` gap: ${theme.spacings.small}; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); `} `} `; export const Fill = styled.div` width: 100%; `; |