Skip to content

Commit 28e7766

Browse files
committed
Merge pull request mui#843 from oliviertassinari/menu
[menu] fix too long height on dropdownmenu and dropdownicon
2 parents 010955e + 4f8ece9 commit 28e7766

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/drop-down-menu.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var DropDownMenu = React.createClass({
3737
open: false,
3838
isHovered: false,
3939
selectedIndex: this.props.selectedIndex || 0
40-
}
40+
};
4141
},
4242

4343
componentClickAway: function() {

src/menu/menu.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ var Menu = React.createClass({
353353
var totalItens = Math.max(1, this.props.menuItems.length);
354354
var newHeight = this._initialMenuItemHeight * totalItens;
355355

356-
return newHeight + KeyLine.Desktop.GUTTER_LESS;
356+
return newHeight;
357357
},
358358

359359
_renderVisibility: function() {

0 commit comments

Comments
 (0)