Skip to content

Commit

Permalink
increase size of embed when message appears
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Whitton committed Jan 19, 2018
1 parent 10ba7d1 commit f24bf1e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
flex-direction: column;
justify-content: center;
text-align: center;
padding: 75px 25px;
padding: 30px 25px;
}

.not-embedded .App {
Expand Down
4 changes: 4 additions & 0 deletions src/SignupForm.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
position: relative;
}

.SignupForm--extend {
margin-bottom: 35px;
}

.SignupForm > input {
flex: 1 1 100%;
font-size: 14px;
Expand Down
2 changes: 1 addition & 1 deletion src/SignupForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class SubscribeForm extends Component {
const { action, messages } = this.props
const { status, msg } = this.state
return (
<form className="SignupForm" action={action} method="post" noValidate>
<form className={`SignupForm${status ? ' SignupForm--extend' : ''}`} action={action} method="post" noValidate>
<input
ref={node => (this.input = node)}
type="email"
Expand Down

0 comments on commit f24bf1e

Please sign in to comment.