Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(a11y): ReportUserView #6017

Merged
merged 3 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/containers/TextInput/FormTextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const styles = StyleSheet.create({
paddingHorizontal: 16,
paddingVertical: 10,
borderWidth: 1,
borderRadius: 2
borderRadius: 4
},
inputIconLeft: {
paddingLeft: 45
Expand Down Expand Up @@ -117,7 +117,7 @@ export const FormTextInput = ({
(secureTextEntry || iconRight || showClearInput) && styles.inputIconRight,
{
backgroundColor: colors.surfaceRoom,
borderColor: colors.strokeLight,
borderColor: colors.strokeMedium,
color: colors.fontTitlesLabels
},
error?.error && {
Expand Down
2 changes: 1 addition & 1 deletion app/views/ReportUserView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const ReportUserView = () => {
style={{ backgroundColor: colors.surfaceHover }}
contentContainerStyle={styles.container}
keyboardVerticalOffset={128}>
<SafeAreaView style={[styles.containerView, { backgroundColor: colors.strokeExtraDark }]} testID='report-user-view'>
<SafeAreaView style={[styles.containerView]} testID='report-user-view'>
<ScrollView contentContainerStyle={[styles.scroll, { backgroundColor: colors.surfaceHover }]}>
<StatusBar />
<UserInfo username={username} name={name} />
Expand Down
8 changes: 5 additions & 3 deletions app/views/ReportUserView/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export default StyleSheet.create({
flex: 1
},
containerView: {
padding: 16
paddingHorizontal: 16,
paddingTop: 32
},
containerAvatarAndName: {
flexDirection: 'row',
Expand All @@ -20,10 +21,11 @@ export default StyleSheet.create({
nameText: {
marginLeft: 8,
fontSize: 16,
...sharedStyles.textMedium
lineHeight: 24,
...sharedStyles.textBold
},
containerTextInput: {
marginBottom: 24
marginBottom: 36
},
textInput: {
minHeight: 100,
Expand Down