mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 22:11:09 +03:00
Added close event on member pages background click
This commit is contained in:
parent
540977fcb8
commit
9e53c6332a
@ -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>
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user