Skip to content

Commit

Permalink
feat(addon-docs): ColorPalette style
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabien Rassinier committed Jan 27, 2020
1 parent 3d671e6 commit e5229cd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/components/src/blocks/ColorPalette.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ const SwatchLabel = styled.div(({ theme }) => ({
? transparentize(0.4, theme.color.defaultText)
: transparentize(0.6, theme.color.defaultText),

'> div': {
display: 'inline-block',
overflow: 'hidden',
maxWidth: '100%',
},

span: {
display: 'block',
marginTop: 2,
Expand Down

0 comments on commit e5229cd

Please sign in to comment.