Browse Source

Fixing error msgs misalignment

master
GabrielTrettel 3 years ago
parent
commit
201f3c81af
  1. 3
      src/app/screens/LoginScreen.js
  2. 4
      src/app/screens/RainSharingDataScreen.js
  3. 2
      src/app/screens/RiverFloodSharingDataScreen.js
  4. 1
      src/app/screens/SharingFloodZonesScreen.js

3
src/app/screens/LoginScreen.js

@ -110,10 +110,13 @@ export default function LoginScreen(props) {
marginBottom={dimensions.spacing.big_padding}
/>
<View
style={{paddingHorizontal: 16, marginBottom: 12}}>
<ErrorMessage
error="Email ou senha inválidos"
visible={loginFailed}
/>
</View>
<View style={{ paddingBottom: 24 }}>
<FormField

4
src/app/screens/RainSharingDataScreen.js

@ -176,7 +176,9 @@ const styles = StyleSheet.create({
backgroundColor: colors.white,
},
error_txt: {
fontSize: dimensions.text.default,
paddingHorizontal: 16,
marginTop: 12,
fontSize: 18,
color: colors.danger,
},
labelStyle: {

2
src/app/screens/RiverFloodSharingDataScreen.js

@ -185,6 +185,8 @@ const styles = StyleSheet.create({
justifyContent: "space-between",
},
error_txt: {
paddingHorizontal: 16,
marginTop: 12,
fontSize: 18,
color: colors.danger,
},

1
src/app/screens/SharingFloodZonesScreen.js

@ -146,6 +146,7 @@ const styles = StyleSheet.create({
justifyContent: "center",
},
error_txt: {
marginTop: 12,
paddingHorizontal: 16,
fontSize: 18,
color: colors.danger,

Loading…
Cancel
Save