Skip to content

Commit

Permalink
fix(Menu): no wrap for items
Browse files Browse the repository at this point in the history
  • Loading branch information
zouxuoz committed Sep 4, 2018
1 parent 0e40ed9 commit 65d713d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/atoms/Menu/MenuItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const StyledTag = createStyledTag(name, () => ({
alignItems: 'center',
cursor: 'pointer',
padding: '0 1rem',
whiteSpace: 'nowrap',

'&:hover': {
backgroundColor: '#4DA1FF',
Expand Down
2 changes: 2 additions & 0 deletions storybook/__tests__/__snapshots__/storyshots.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9320,6 +9320,7 @@ exports[`Storyshots ATOMS/Dropdown with menu 1`] = `
align-items: center;
cursor: pointer;
padding: 0 1rem;
white-space: nowrap;
}
.emotion-3:hover {
Expand Down Expand Up @@ -11657,6 +11658,7 @@ exports[`Storyshots ATOMS/Menu with default modifiers 1`] = `
align-items: center;
cursor: pointer;
padding: 0 1rem;
white-space: nowrap;
}
.emotion-0:hover {
Expand Down

0 comments on commit 65d713d

Please sign in to comment.