This repository was archived by the owner on Jun 10, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 3232 width : 100% ;
3333}
3434
35+ .errorList {
36+ align-self : center;
37+ color : # ff665A ;
38+ font-size : 1.5rem ;
39+ font-weight : 800 ;
40+ list-style-position : inside;
41+ margin-bottom : 12px ;
42+ margin-top : 12px ;
43+ padding : 0 ;
44+ }
45+
46+ .errorMessage {
47+ padding-left : 20px ;
48+ }
49+
3550@media screen and (max-width : 599px ) {
3651 .signupForm {
3752 max-width : 298px ;
Original file line number Diff line number Diff line change @@ -125,7 +125,9 @@ class SignUp extends Component {
125125 id = "passwordConfirm" placeholder = "Confirm Password"
126126 onChange = { this . onConfirmPasswordChange } validateFunc = { this . validatePasswordConfirm }
127127 />
128- { this . state . error && < span > There was an error joining Operation Code: { this . state . error } </ span > }
128+ { this . state . error ? < ul className = { styles . errorList } > There was an error joining Operation Code:
129+ < li className = { styles . errorMessage } > { this . state . error } </ li >
130+ </ ul > : null }
129131 { this . state . success && < Redirect to = "/thanks" /> }
130132 < FormButton className = { styles . joinButton } text = "Join" onClick = { this . handleOnClick } theme = "red" />
131133 </ Form >
You can’t perform that action at this time.
0 commit comments