# All files / src/ThumbnailGrid ThumbnailGrid.styles.ts

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

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    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
    33
    34
    35
    36
    374x
    4x
    4x
    4x
    4x

    4x

    4x

    4x

    4x

    4x

     import styled from 'styled-components'
    import { Thumbnail } from '../Thumbnail'
    import { Typography } from '../Typography/Typography'
    import { getEllipsis } from '../_styles/mixins'
    import { spacing } from '../_styles/spacing'

    export const StyledGroupCell = styled.div`
      display: flex;
      align-items: flex-end;
      padding-bottom: ${spacing.md}px;
    `

    export const StyledThumbnail = styled(Thumbnail)`
      display: inline-flex;

      &:focus {
        outline: none;
      }
    `
    export const StyledGroupTitle = styled(Typography)`
      ${getEllipsis}
    `

    export const StyledSpinnerWrapper = styled.div`
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
    `

    export const StyledThumbnailGrid = styled.div`
      display: flex;
      flex-wrap: wrap;
      outline: none;
    `