moduleLayout.tsx 615 B

123456789101112131415161718192021222324252627282930313233
  1. import styled from '@emotion/styled';
  2. import {space} from 'sentry/styles/space';
  3. export const Layout = styled('div')`
  4. display: grid;
  5. grid-template-columns: repeat(12, 1fr);
  6. gap: ${space(2)};
  7. `;
  8. export const Quarter = styled('div')`
  9. grid-column: span 3;
  10. `;
  11. export const Third = styled('div')`
  12. grid-column: span 4;
  13. `;
  14. export const Half = styled('div')`
  15. grid-column: span 12;
  16. @media (min-width: ${p => p.theme.breakpoints.small}) {
  17. grid-column: span 6;
  18. }
  19. `;
  20. export const ThreeQuarters = styled('div')`
  21. grid-column: span 8;
  22. `;
  23. export const Full = styled('div')`
  24. grid-column: span 12;
  25. `;