diff --git a/scss/components/_audio.scss b/scss/components/_audio.scss index 6d20430d..593e3d44 100644 --- a/scss/components/_audio.scss +++ b/scss/components/_audio.scss @@ -92,7 +92,7 @@ } &-times { - width: $Audio-times-width; + min-width: $Audio-times-width; margin-right: $Audio-item-margin; cursor: default; flex-shrink: 0; diff --git a/src/components/Drawer.tsx b/src/components/Drawer.tsx index 175af357..d2e7434a 100644 --- a/src/components/Drawer.tsx +++ b/src/components/Drawer.tsx @@ -73,7 +73,11 @@ export class Drawer extends React.Component { } document.body.removeEventListener('click', this.handleRootClick); - document.body.addEventListener('click', this.handleRootClickCapture, true); + document.body.removeEventListener( + 'click', + this.handleRootClickCapture, + true + ); } contentRef = (ref: any) => (this.contentDom = ref);