Merge pull request #254 from vlazaroes/fix/drawer-animation

Fix animation when opening the Drawer
This commit is contained in:
Manoj Vivek 2020-07-03 16:51:34 +05:30 committed by GitHub
commit effaf096ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View file

@ -1,16 +1,16 @@
.drawer {
width: 0;
width: 290px;
overflow: hidden;
transition: width 0.2s;
transition: margin-left 0.2s;
background: #252526;
margin: 0 10px 0 -290px;
padding: 5px 5px 0 5px;
}
.drawer.open {
width: 290px;
margin-left: 0;
flex-shrink: 0;
box-shadow: 5px 7px 5px 0px rgba(0, 0, 0, 0.75);
margin: 0 10px 0 0;
padding: 5px 5px 0 0;
}
.contentContainer {

View file

@ -19,6 +19,7 @@ const Browser = ({browser}) => {
style={{
display: 'flex',
flexDirection: 'row',
overflowX: 'hidden',
height: 0,
flexGrow: 1,
flexBasis: 0,