Skip to content

Commit

Permalink
chore: updated report user layout
Browse files Browse the repository at this point in the history
  • Loading branch information
OtavioStasiak committed Nov 22, 2024
1 parent 1b2f310 commit ba4d0d2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
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

0 comments on commit ba4d0d2

Please sign in to comment.