mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
Merge branch '2.0' of https://github.com/fareesh/ionic into 2.0
This commit is contained in:
@ -137,8 +137,8 @@ class MenuOverlayType extends MenuType {
|
||||
let closedX: string, openedX: string;
|
||||
if (menu.side === 'right') {
|
||||
// right side
|
||||
closedX = platform.width() + 'px';
|
||||
openedX = (platform.width() - menu.width() - 8) + 'px';
|
||||
closedX = menu.width() + 'px';
|
||||
openedX = '0px';
|
||||
|
||||
} else {
|
||||
// left side
|
||||
|
@ -90,7 +90,8 @@ ion-menu[type=overlay] {
|
||||
}
|
||||
|
||||
ion-menu[type=overlay][side=right] {
|
||||
left: 8px;
|
||||
left: auto;
|
||||
right: -8px;
|
||||
}
|
||||
|
||||
ion-menu[type=push][side=right] {
|
||||
|
Reference in New Issue
Block a user