Commit 8cde05fd authored by Ray Schamp's avatar Ray Schamp

Fix remaining Modal styles

parent 7e74c4a1
......@@ -317,7 +317,7 @@ var Navigation = React.createClass({
</ul>
<Modal isOpen={this.state.canceledDeletionOpen}
onRequestClose={this.closeCanceledDeletion}
frameSettings={{padding: 15}}>
style={{content:{padding: 15}}}>
<h4>Your Account Will Not Be Deleted</h4>
<p>
Your account was scheduled for deletion but you logged in. Your account has been reactivated.
......
var injectIntl = require('react-intl').injectIntl;
var omit = require('lodash.omit');
var React = require('react');
var render = require('../../lib/render.jsx');
......@@ -290,6 +291,7 @@ var Splash = injectIntl(React.createClass({
var showEmailConfirmation = (
this.state.session.user && this.state.session.flags.has_outstanding_email_confirmation &&
this.state.session.flags.confirm_email_banner);
var emailConfirmationStyle = {width: 500, height: 330, padding: 1};
return (
<div className="splash">
{showEmailConfirmation ? [
......@@ -303,11 +305,10 @@ var Splash = injectIntl(React.createClass({
<Modal key="emailConfirmationModal"
isOpen={this.state.emailConfirmationModalOpen}
onRequestClose={this.hideEmailConfirmationModal}
frameSettings={{width: 500, height: 330, padding: 1}}>
style={{content: emailConfirmationStyle}}>
<iframe
src="/accounts/email_resend_standalone/"
width="500"
height="330" />
{...omit(emailConfirmationStyle, 'padding')} />
</Modal>
] : []}
<div key="inner" className="inner">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment