Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Commit

Permalink
fix(Table): fix table breaking due to dynamic style (#649)
Browse files Browse the repository at this point in the history
table breaking due to bug with dynamic style in media query bug in jss 10
  • Loading branch information
robineng authored Oct 4, 2019
1 parent 61007d3 commit c9e83f7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/table/table-styles.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ export default theme => {
textAlign: 'left',
borderCollapse: 'collapse',
borderColor: palette.gray7,
minWidth: 'auto',

[mixins.media('md')]: {
minWidth: props => props.minWidth,
minWidth: props => props.minWidth,
[mixins.maxMedia('md')]: {
minWidth: 'auto',
},
},
tableLayoutFixed: {
Expand Down

1 comment on commit c9e83f7

@vercel
Copy link

@vercel vercel bot commented on c9e83f7 Oct 4, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.