Added close event on member pages background click

This commit is contained in:
Zimo 2019-04-17 16:34:14 +02:00 committed by Fabien O'Carroll
parent 540977fcb8
commit 9e53c6332a
2 changed files with 4 additions and 2 deletions

View File

@ -44,7 +44,7 @@ export default class Pages extends Component {
backgroundSize: `38px`
} : {};
return (
<div className={className}>
<div className={ className } onClick={ onClick }>
<div className="gm-modal-header">
<div className="gm-logo" style={iconStyle}></div>
<h2>{title}</h2>

View File

@ -35,8 +35,9 @@
.gm-modal {
position: relative;
margin: 0 auto;
animation: openModal 0.6s ease 1 forwards;
padding: 60px;
margin: -60px 0 0;
}
.gm-modal-close {
@ -110,6 +111,7 @@
min-height: calc(100vh - 90px);
padding: 24px;
border-radius: 0;
margin: 0;
}
.gm-page-overlay {