# All files / components/Tabs/styles TabList.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

    4x

    4x

     import styled from 'styled-components';
    import TabContainer from './TabContainer';

    const TabList = styled.ul`
      display: flex;
      flex-direction: row;
      user-select: none;
      padding: unset;
      margin: unset;
      overflow: visible;

      ${TabContainer} > & {
        flex: 0 0 auto;
      }

      ${TabContainer.Vertical} > & {
        flex: 0 0 25%;
      }
    `;

    TabList.Vertical = TabList.extend`
      flex-direction: column;
    `;

    export default TabList;