Skip to content

Commit

Permalink
[Rewards] Modified adaptive captcha error message style.
Browse files Browse the repository at this point in the history
Fixes brave/brave-browser#18971

Changed:
 * the button to grow vertically with the text
 * the header to align with the sad face image when the text exceeds 1
   line
 * the sad face image to center vertically with the header.

The localization change has been made in Transifex, but is also being
applied here preemptively.
  • Loading branch information
mkarolin committed Mar 24, 2022
1 parent 4b91a61 commit 6043e72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const root = styled.div`
`

export const title = styled.div`
display: flex;
margin-top: 16px;
font-weight: 600;
font-size: 22px;
Expand All @@ -34,7 +35,8 @@ export const title = styled.div`
height: 24px;
margin-right: 8px;
vertical-align: middle;
margin-bottom: 3px;
margin-top: auto;
margin-bottom: auto;
}
&.long {
Expand Down Expand Up @@ -77,7 +79,7 @@ export const helpAction = styled.div`
button {
display: block;
height: 40px;
height: auto;
margin: 0 auto;
padding: 10px 22px;
font-weight: 600;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@
"description": ""
},
"captchaContactSupport": {
"message": "Skontaktuj się z działem pomocy technicznej!",
"message": "Skontaktuj się z pomocą techniczną",
"description": ""
},
"captchaDismiss": {
Expand Down

0 comments on commit 6043e72

Please sign in to comment.