All files / Select/partials SelectPlaceholder.js

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 241x 1x   1x                                        
import styled from 'styled-components'
import { autoCssGenerator } from '../cssHelpers';
 
const g = autoCssGenerator('select-placeholder');
 
export default styled.div`
  text-overflow: ellipsis;
  position: absolute;
  display: inline-block;
  white-space: nowrap;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 100%;
  overflow: hidden;
 
  ${g('color')}
  ${g('padding')}
  ${g('font-size')}
  ${g('font-family')}
  ${g('line-height')}
`