Skip to content

Commit

Permalink
fix(menu): fix content shadow when revealed in iOS (#17383)
Browse files Browse the repository at this point in the history
  • Loading branch information
abennouna authored and liamdebeasi committed Feb 5, 2019
1 parent 08879c0 commit fc43faa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/components/menu-controller/menu-controller.scss
Expand Up @@ -18,6 +18,10 @@
box-shadow: $menu-ios-box-shadow-reveal;
}

[dir=rtl].ios .menu-content-reveal {
box-shadow: $menu-ios-box-shadow-reveal-rtl;
}

.ios .menu-content-push {
box-shadow: $menu-ios-box-shadow-push;
}
Expand Down
6 changes: 6 additions & 0 deletions core/src/components/menu/menu.ios.vars.scss
Expand Up @@ -12,9 +12,15 @@ $menu-ios-box-shadow-color: rgba(0, 0, 0, .08) !default;
/// @prop - Box shadow of the menu
$menu-ios-box-shadow: -8px 0 42px $menu-ios-box-shadow-color !default;

/// @prop - Box shadow of the menu in rtl mode
$menu-ios-box-shadow-rtl: 8px 0 42px $menu-ios-box-shadow-color !default;

/// @prop - Box shadow of the reveal menu
$menu-ios-box-shadow-reveal: $menu-ios-box-shadow !default;

/// @prop - Box shadow of the reveal menu
$menu-ios-box-shadow-reveal-rtl: $menu-ios-box-shadow-rtl !default;

/// @prop - Box shadow of the push menu
$menu-ios-box-shadow-push: null !default;

Expand Down

0 comments on commit fc43faa

Please sign in to comment.