Skip to content

Commit

Permalink
Set zindex of sidebars to be below main content
Browse files Browse the repository at this point in the history
  • Loading branch information
SupremeTechnopriest committed Jan 18, 2016
1 parent 2f9fb64 commit f83dd80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions lib/OffCanvas/OffCanvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ var styles = {
position: 'fixed',
paddingLeft: 0,
float: 'left',
zIndex: 1,
zIndex: 0,
overflow: 'hidden',
transition: 'width 0.5s ease'
},
Expand All @@ -233,15 +233,15 @@ var styles = {
position: 'fixed',
right: 0,
float: 'left',
zIndex: 1,
zIndex: 0,
overflow: 'hidden',
transition: 'width 0.5s ease'
},
content: {
width: 'auto',
height: '100%',
paddingLeft: 0,
zIndex: 0,
zIndex: 1,
overflowX: 'hidden',
position: 'relative',
transition: 'padding 0.5s ease'
Expand Down
6 changes: 3 additions & 3 deletions src/OffCanvas/OffCanvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ const styles = {
position: 'fixed',
paddingLeft: 0,
float: 'left',
zIndex: 1,
zIndex: 0,
overflow: 'hidden',
transition: 'width 0.5s ease'
},
Expand All @@ -187,15 +187,15 @@ const styles = {
position: 'fixed',
right: 0,
float: 'left',
zIndex: 1,
zIndex: 0,
overflow: 'hidden',
transition: 'width 0.5s ease'
},
content: {
width: 'auto',
height: '100%',
paddingLeft: 0,
zIndex: 0,
zIndex: 1,
overflowX: 'hidden',
position: 'relative',
transition: 'padding 0.5s ease'
Expand Down

0 comments on commit f83dd80

Please sign in to comment.