# All files / layouts/Pane/styles PaneStyles.js

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

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

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

    export default styled.article`
      display: flex;
      flex-direction: column;
      flex: 1 1;
      padding: 0 ${get('spacing.large')};
      background: ${get('colors.background.default')};

      /* for panes within rows that are not on the top, add top padding */

      ${PaneRow}:not(:first-of-type) > & {
        padding-top: ${get('spacing.large')};
      }
    `;