Skip to content

Commit

Permalink
Merge pull request #177 from ruby10127130/feature/marathon-form/add-e…
Browse files Browse the repository at this point in the history
…rror-msg

Feature/marathon form/add error msg
  • Loading branch information
vincentxuu authored Dec 18, 2024
2 parents 7acba99 + 8cf00a3 commit 1bbdba0
Show file tree
Hide file tree
Showing 4 changed files with 255 additions and 15 deletions.
19 changes: 19 additions & 0 deletions components/Marathon/SignUp/Edit.styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ export const StyledSection = styled(Box)`
border-radius: 16px;
border: 1px solid #DBDBDB;
&.error {
border-color: #EF5364;
}
@media (max-width: 767px) {
padding: 32px 16px;
Expand Down Expand Up @@ -187,6 +190,12 @@ export const StyledInputBase = styled(InputBase)`
border-width: 1px;
padding: 12px 16px;
}
&.error {
border-color: #EF5364;
outline-color: #EF5364;
position: relative;
}
`;
export const StyledTextareaAutosize = styled(TextareaAutosize)`
width: 100%;
Expand All @@ -200,10 +209,20 @@ export const StyledTextareaAutosize = styled(TextareaAutosize)`
border: 2px solid #16B9B3;
padding: 11px 15px;
outline-color: #16B9B3;
&.error {
border-color: #EF5364;
outline-color: #EF5364;
}
}
.MuiInputBase-input {
padding: 0;
line-height: 140%;
}
&.error {
border-color: #EF5364;
outline-color: #16B9B3;
}
`;
Loading

0 comments on commit 1bbdba0

Please sign in to comment.