mirror of
https://github.com/status-im/liquid-funding.git
synced 2025-02-20 23:28:19 +00:00
fix background color leaking into other components
This commit is contained in:
parent
fbe5d6b194
commit
f4058882ad
@ -30,7 +30,6 @@ const styles = theme => ({
|
||||
display: 'flex',
|
||||
},
|
||||
appBar: {
|
||||
backgroundColor: '#111735',
|
||||
transition: theme.transitions.create(['margin', 'width'], {
|
||||
easing: theme.transitions.easing.sharp,
|
||||
duration: theme.transitions.duration.leavingScreen,
|
||||
@ -44,6 +43,9 @@ const styles = theme => ({
|
||||
duration: theme.transitions.duration.enteringScreen,
|
||||
}),
|
||||
},
|
||||
appBarBg: {
|
||||
backgroundColor: '#111735'
|
||||
},
|
||||
childrenShift: {
|
||||
width: `calc(100% - ${drawerWidth}px)`
|
||||
},
|
||||
@ -111,7 +113,7 @@ class PersistentDrawerLeft extends React.Component {
|
||||
<CssBaseline />
|
||||
<AppBar
|
||||
position="fixed"
|
||||
className={classNames(classes.appBar, {
|
||||
className={classNames(classes.appBar, classes.appBarBg, {
|
||||
[classes.appBarShift]: open,
|
||||
})}
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user