# All files / components/Navigation/styles NavigationItemList.js

100% Statements 2/2
100% Branches 0/0
100% Functions 0/0
100% Lines 2/2

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32

    4x

    4x

     import styled from 'styled-components';
    import get from 'extensions/themeGet';
    import NavigationItem from './NavigationItem';
    import NavigationBar from './NavigationBar';

    const NavigationItemList = styled.div.withConfig({
      displayName: 'NavigationItemList',
    })`
      display: flex;
      flex-direction: row;
      justify-content: flex-end;

      background: transparent;
      color: inherit;

      & > * {
        margin-right: ${get('spacing.large')};
        margin-top: auto;
      }

      & > *:last-child {
        margin: auto 0 0 0;
        padding-right: 0;
      }
    `;

    NavigationItemList.Small = NavigationItemList.extend`
      /* this doesn't contain any special styling, see NavigationItem for rules */
    `;

    export default NavigationItemList;