Skip to content

Commit

Permalink
Add flex property to menuItem
Browse files Browse the repository at this point in the history
Resolves mui#3531
  • Loading branch information
tintin1343 committed Mar 4, 2016
1 parent 384e35d commit fddc328
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/lists/list-item.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ const ListItem = React.createClass({
},

primaryText: {
order: 1,
},

rightIconButton: {
Expand Down
8 changes: 7 additions & 1 deletion src/menus/menu-item.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,16 @@ const MenuItem = React.createClass({
paddingRight: sidePadding,
paddingBottom: 0,
paddingTop: 0,
display: 'flex',
justifyContent: 'space-between',
alignContent: 'space-between',
},

secondaryText: {
float: 'right',
order:2,
overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
},

leftIconDesktop: {
Expand Down

0 comments on commit fddc328

Please sign in to comment.