diff --git a/web/client/components/misc/Dialog.jsx b/web/client/components/misc/Dialog.jsx index e3f980a8cc..80f8058279 100644 --- a/web/client/components/misc/Dialog.jsx +++ b/web/client/components/misc/Dialog.jsx @@ -22,6 +22,7 @@ const Dialog = React.createClass({ backgroundStyle: React.PropTypes.object, className: React.PropTypes.string, maskLoading: React.PropTypes.bool, + containerClassName: React.PropTypes.string, headerClassName: React.PropTypes.string, bodyClassName: React.PropTypes.string, footerClassName: React.PropTypes.string, @@ -38,6 +39,7 @@ const Dialog = React.createClass({ start: {x: 0, y: 0}, className: "modal-dialog modal-content", maskLoading: false, + containerClassName: "", headerClassName: "modal-header", bodyClassName: "modal-body", footerClassName: "modal-footer", @@ -84,7 +86,7 @@ const Dialog = React.createClass({ ); let containerStyle = assign({}, this.props.style, this.props.backgroundStyle); return this.props.modal ? - (