# All files / components/DatePicker/styles DatePickerWrapper.js

0% Statements 0/10
0% Branches 0/4
0% Functions 0/1
0% Lines 0/4

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21

     import styled from 'styled-components';
    import baseCss from './baseCss';
    import overridesCss from './overridesCss';

    const WIDTH = 262;

    export default styled.div`
      ${baseCss} ${overridesCss} .SingleDatePicker {
        width: ${WIDTH}px;
      }

      .DayPicker_transitionContainer {
        width: ${WIDTH - 4}px !important;
      }

      .DayPicker_weekHeader_li {
        /* a fix for the weekday headers being just 2px too large in total */
        margin-left: ${2.0 / -7.0}px;
      }
    `;