Skip to content

Commit

Permalink
Merge pull request #1058 from cozy/fix/ModalDimensionProps
Browse files Browse the repository at this point in the history
fix: Move dimension props from wrapper to modal
  • Loading branch information
GoOz authored Jun 25, 2019
2 parents a815139 + 95d0204 commit a320805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/Modal/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ class Modal extends Component {
},
wrapperClassName
)}
style={style}
onClick={closable ? this.handleOutsideClick : undefined}
>
<div
Expand All @@ -342,6 +341,7 @@ class Modal extends Component {
},
className
)}
style={style}
role="dialog"
aria-modal="true"
aria-labelledby={title ? titleID : null}
Expand Down

0 comments on commit a320805

Please sign in to comment.