Updating modal
This commit is contained in:
parent
2cf03762e1
commit
fe874a2a6b
|
@ -12,7 +12,7 @@ const Modal = props => (
|
|||
);
|
||||
|
||||
Modal.propTypes = {
|
||||
isModalOpen: PropTypes.bool.isRequired,
|
||||
isModalOpen: PropTypes.bool,
|
||||
children: PropTypes.shape({}).isRequired,
|
||||
closeModal: PropTypes.func.isRequired,
|
||||
modalOnMobileOnly: PropTypes.bool,
|
||||
|
@ -20,6 +20,7 @@ Modal.propTypes = {
|
|||
|
||||
Modal.defaultProps = {
|
||||
modalOnMobileOnly: false,
|
||||
isModalOpen: false,
|
||||
};
|
||||
|
||||
export default Modal;
|
||||
|
|
|
@ -19,6 +19,9 @@
|
|||
@media (min-width: $desktop) {
|
||||
background-color: transparent;
|
||||
height: auto;
|
||||
display: block;
|
||||
position: initial;
|
||||
width: auto;
|
||||
|
||||
.modal-inner {
|
||||
position: initial;
|
||||
|
|
Loading…
Reference in New Issue