Skip to content

Commit

Permalink
tweaks for left alignment and text transform theme attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Whitton committed Feb 14, 2018
1 parent 020a685 commit 7471427
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/NewsletterSignup.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
text-align: left;
padding: 30px 25px;
}

Expand Down
12 changes: 2 additions & 10 deletions src/SignupForm.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.SignupForm {
max-width: 270px;
width: 100%;
margin: 0 auto;
display: flex;
Expand All @@ -23,20 +22,17 @@

.SignupForm > input::placeholder {
color: black;
text-align: center;
}

.SignupForm > button {
appearance: none;
cursor: pointer;
display: block;
flex: 1 1 100%;
padding: 3px 0;
padding: 3px 10px;
border: none;
background-color: #dcf42c;
font-family: "Oswald", sans-serif;
font-size: 18px;
text-transform: uppercase;
}

.SignupForm__message {
Expand All @@ -47,18 +43,14 @@
}

@media only screen and (min-width: 481px) {
.SignupForm {
max-width: 443px;
}

.SignupForm__message {
top: 40px;
}

.SignupForm input {
margin-bottom: 0;
font-size: 18px;
padding: 5px 10px 5px 20px;
padding: 5px 10px;
}

.SignupForm input::placeholder {
Expand Down

0 comments on commit 7471427

Please sign in to comment.