1
0

Section.styles.ts 332 B

123456789101112
  1. import styled from '@emotion/styled'
  2. import { media, sizes } from '@/styles'
  3. export const SectionWrapper = styled.section<{ withoutGap?: boolean }>`
  4. display: grid;
  5. position: relative;
  6. gap: ${({ withoutGap }) => (withoutGap ? 0 : sizes(4))};
  7. ${media.sm} {
  8. gap: ${({ withoutGap }) => (withoutGap ? 0 : sizes(6))};
  9. }
  10. `