nexxtway/react-rainbow

View on GitHub
src/components/TimePicker/styled/selectContent.js

Summary

Maintainability
A
40 mins
Test Coverage
import styled from 'styled-components';
import attachThemeAttrs from '../../../styles/helpers/attachThemeAttrs';
import { PADDING_X_SMALL } from '../../../styles/paddings';

const StyledSelectContent = attachThemeAttrs(styled.div)`
    height: 100px;
    width: 360px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: ${props => props.palette.background.secondary};
    border-radius: 8px;
    margin: 48px 12px 32px 12px;
    padding: ${PADDING_X_SMALL};

    @media (max-width: 600px) {
        width: 100%;
        margin: 56px 0 40px 0;
    }
`;

export default StyledSelectContent;