mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-03 04:50:14 +08:00
improvement (UI): fixes + cleanup interface - #11
This commit is contained in:
@ -23,6 +23,9 @@ export class Modal extends React.Component {
|
||||
this.setState({marginTop: this._marginTop()});
|
||||
}
|
||||
|
||||
componentWillUnmount(){
|
||||
}
|
||||
|
||||
_marginTop(){
|
||||
let size = 300;
|
||||
const $box = document.querySelector('#modal-box > div');
|
||||
@ -35,7 +38,6 @@ export class Modal extends React.Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
return (
|
||||
<ReactCSSTransitionGroup transitionName="modal"
|
||||
transitionLeaveTimeout={300}
|
||||
|
||||
Reference in New Issue
Block a user