Skip to content

Commit

Permalink
Hide container when drawer is closed (#20)
Browse files Browse the repository at this point in the history
* Hide container when drawer is closed

* Fixed build

* minor change

* minor fix
  • Loading branch information
Diviei authored Jul 23, 2021
1 parent 313250a commit d8dd7ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/vt-augment.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/vt-augment.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const CSS_STYLESHEET = `
align-items: center;
}
.vt-augment.drawer {
display: none;
width: 700px;
background: white;
border: 1px solid #e6e6e6;
Expand All @@ -68,6 +69,7 @@ const CSS_STYLESHEET = `
transform: translateX(100vw);
}
.vt-augment.drawer[opened] {
display: flex;
animation: slideFromRight 0.2s 1 forwards;
}
.vt-augment > .spinner {
Expand Down

0 comments on commit d8dd7ab

Please sign in to comment.