mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 11:59:11 +00:00
17 lines
406 B
TypeScript
17 lines
406 B
TypeScript
import { onTablet } from '@roleypoly/design-system/atoms/breakpoints';
|
|
import styled, { css } from 'styled-components';
|
|
|
|
export const HalfsiesContainer = styled.div`
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: center;
|
|
`;
|
|
|
|
export const HalfsiesItem = styled.div`
|
|
box-sizing: border-box;
|
|
flex: 1 1 100%;
|
|
${onTablet(css`
|
|
flex: 1 2 50%;
|
|
`)}
|
|
`;
|