Skip to content

Commit 6043e72

Browse files
committed
[Rewards] Modified adaptive captcha error message style.
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.
1 parent 4b91a61 commit 6043e72

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

components/brave_rewards/resources/adaptive_captcha/components/adaptive_captcha_view.style.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const root = styled.div`
2424
`
2525

2626
export const title = styled.div`
27+
display: flex;
2728
margin-top: 16px;
2829
font-weight: 600;
2930
font-size: 22px;
@@ -34,7 +35,8 @@ export const title = styled.div`
3435
height: 24px;
3536
margin-right: 8px;
3637
vertical-align: middle;
37-
margin-bottom: 3px;
38+
margin-top: auto;
39+
margin-bottom: auto;
3840
}
3941
4042
&.long {
@@ -77,7 +79,7 @@ export const helpAction = styled.div`
7779
7880
button {
7981
display: block;
80-
height: 40px;
82+
height: auto;
8183
margin: 0 auto;
8284
padding: 10px 22px;
8385
font-weight: 600;

components/brave_rewards/resources/extension/brave_rewards/_locales/pl/messages.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@
607607
"description": ""
608608
},
609609
"captchaContactSupport": {
610-
"message": "Skontaktuj się z działem pomocy technicznej!",
610+
"message": "Skontaktuj się z pomocą techniczną",
611611
"description": ""
612612
},
613613
"captchaDismiss": {

0 commit comments

Comments
 (0)