Skip to content

Commit

Permalink
fix(sideMenu, exposeAsideWhen): set default width
Browse files Browse the repository at this point in the history
ion-side-menu with explicit width and expose-aside-when="large”
previously loaded the sidebar with a fixed width of 275px.
  • Loading branch information
sharky101 committed Sep 11, 2014
1 parent f5e986c commit 7751b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/angular/directive/sideMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ IonicModule
$scope.side = $attr.side || 'left';

var sideMenu = sideMenuCtrl[$scope.side] = new ionic.views.SideMenu({
width: 275,
width: attr.width,
el: $element[0],
isEnabled: true
});
Expand Down

0 comments on commit 7751b16

Please sign in to comment.