Quick test responsive cols

This commit is contained in:
Ezekiel Aquino
2018-11-29 09:58:08 +01:00
parent 03289293c3
commit 9b794c00ea

View File

@@ -77,12 +77,18 @@ export const Wrap = styled.div<WrapProps>`
max-width: ${props => WRAPPER_WIDTHS[props.width || 'default']};
background-color: ${props => props.bgColor};
margin: 0 auto;
display: flex;
justify-content: space-between;
@media (min-width: 768px) {
display: flex;
justify-content: space-between;
}
`;
export const Column = styled.div<ColumnProps>`
width: ${props => props.colWidth ? COLUMN_WIDTHS[props.colWidth] : '100%'};
padding: ${props => !props.noPadding && '30px'};
border: 1px dotted rgba(255, 0, 0, 0.3);
@media (min-width: 768px) {
width: ${props => props.colWidth ? COLUMN_WIDTHS[props.colWidth] : '100%'};
}
`;