mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
Added close event on member pages background click
This commit is contained in:
parent
fb8a127729
commit
5a0113f24c
@ -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