We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db23297 + db21ee8 commit c24b79aCopy full SHA for c24b79a
src/app-bar.jsx
@@ -87,6 +87,7 @@ const AppBar = React.createClass({
87
let flatButtonSize = 36;
88
let styles = {
89
root: {
90
+ position: 'relative',
91
zIndex: 5,
92
width: '100%',
93
display: '-webkit-box; display: -webkit-flex; display: flex',
src/app-canvas.jsx
@@ -51,9 +51,9 @@ const AppCanvas = React.createClass({
51
switch (currentChild.type.displayName) {
52
case 'AppBar' :
53
return React.cloneElement(currentChild, {
54
- style: this.mergeStyles({
+ style: this.mergeStyles(currentChild.props.style, {
55
position: 'fixed',
56
- }, currentChild.props.style),
+ }),
57
});
58
default:
59
return currentChild;
0 commit comments