Browse Source

Add `overflow` to styled Box props

master
meriadec 7 years ago
parent
commit
93e0f16e96
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 2
      src/components/base/Box/Box.js

2
src/components/base/Box/Box.js

@ -17,6 +17,7 @@ import {
import fontFamily from 'styles/styled/fontFamily'
export const styledTextAlign = style({ prop: 'textAlign', cssProperty: 'textAlign' })
export const styledOverflow = style({ prop: 'overflow', cssProperty: 'overflow' })
export const styledCursor = style({ prop: 'cursor', cssProperty: 'cursor' })
export const styledTextTransform = style({ prop: 'textTransform', cssProperty: 'textTransform' })
@ -34,6 +35,7 @@ export default styled.div`
${styledTextAlign};
${styledCursor};
${styledTextTransform};
${styledOverflow};
display: flex;
flex-shrink: ${p => (p.noShrink === true ? '0' : p.shrink === true ? '1' : '')};

Loading…
Cancel
Save