Skip to content

Commit

Permalink
fix(menu): safari z-index fix for .menu .scroll-content
Browse files Browse the repository at this point in the history
Closes #1408
  • Loading branch information
Adam Bradley committed Jun 17, 2014
1 parent 4e0548f commit 754ef46
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions demos/directive/sideMenus/simple/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
name: simple
component: ionSideMenus
---
.menu-left .scroll-content {
background-color: #f4f4f4;
}
8 changes: 8 additions & 0 deletions scss/_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@
width: $menu-width;

background-color: $menu-bg;

.scroll-content {
z-index: $z-index-menu-scroll-content;
}

.bar-header {
z-index: $z-index-menu-bar-header;
}
}

.menu-content {
Expand Down
2 changes: 2 additions & 0 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,8 @@ $z-index-item-reordering: 9 !default;
$z-index-item-toggle: 3 !default;
$z-index-loading: 13 !default;
$z-index-menu: 0 !default;
$z-index-menu-bar-header: 11 !default;
$z-index-menu-scroll-content: 10 !default;
$z-index-modal: 10 !default;
$z-index-pane: 1 !default;
$z-index-popup: 12 !default;
Expand Down

0 comments on commit 754ef46

Please sign in to comment.