[FIX] Decrease space between sections on lists (#4543)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
aba375b7fe
commit
f6229eecb4
File diff suppressed because one or more lines are too long
|
@ -5,7 +5,7 @@ import scrollPersistTaps from '../../lib/methods/helpers/scrollPersistTaps';
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
container: {
|
container: {
|
||||||
paddingVertical: 8
|
paddingVertical: 16
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ import I18n from '../../i18n';
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
container: {
|
container: {
|
||||||
paddingVertical: 4,
|
paddingTop: 8,
|
||||||
paddingHorizontal: PADDING_HORIZONTAL
|
paddingHorizontal: PADDING_HORIZONTAL
|
||||||
},
|
},
|
||||||
text: {
|
text: {
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Header } from '.';
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
container: {
|
container: {
|
||||||
marginBottom: 8
|
marginBottom: 16
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,6 @@ import { StyleSheet } from 'react-native';
|
||||||
|
|
||||||
export const styles = StyleSheet.create({
|
export const styles = StyleSheet.create({
|
||||||
contentContainerStyleFlatList: {
|
contentContainerStyleFlatList: {
|
||||||
paddingVertical: 32
|
paddingVertical: 16
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -33,7 +33,7 @@ const styles = StyleSheet.create({
|
||||||
marginTop: 16
|
marginTop: 16
|
||||||
},
|
},
|
||||||
containerStyle: {
|
containerStyle: {
|
||||||
marginBottom: 28
|
marginBottom: 16
|
||||||
},
|
},
|
||||||
list: {
|
list: {
|
||||||
width: '100%'
|
width: '100%'
|
||||||
|
@ -53,8 +53,7 @@ const styles = StyleSheet.create({
|
||||||
paddingHorizontal: 16
|
paddingHorizontal: 16
|
||||||
},
|
},
|
||||||
buttonCreate: {
|
buttonCreate: {
|
||||||
marginHorizontal: 16,
|
margin: 16
|
||||||
marginTop: 24
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -181,6 +181,7 @@ const NotificationPreferencesView = (): React.ReactElement => {
|
||||||
testID='notification-preference-view-alert'
|
testID='notification-preference-view-alert'
|
||||||
onChangeValue={saveNotificationSettings}
|
onChangeValue={saveNotificationSettings}
|
||||||
/>
|
/>
|
||||||
|
<List.Separator />
|
||||||
<RenderListPicker
|
<RenderListPicker
|
||||||
preference='audioNotificationValue'
|
preference='audioNotificationValue'
|
||||||
room={room}
|
room={room}
|
||||||
|
|
|
@ -64,7 +64,7 @@ export default function ActionsSection({ rid, t, joined }: IActionsSection): Rea
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={{ paddingTop: canAddUser || canInviteUser ? 16 : 0, paddingBottom: canAddUser || canInviteUser ? 8 : 0 }}>
|
<View style={{ paddingTop: canAddUser || canInviteUser ? 16 : 0, paddingBottom: canAddUser || canInviteUser ? 16 : 0 }}>
|
||||||
{['c', 'p'].includes(t) && canAddUser ? (
|
{['c', 'p'].includes(t) && canAddUser ? (
|
||||||
<>
|
<>
|
||||||
<List.Separator />
|
<List.Separator />
|
||||||
|
|
|
@ -44,8 +44,8 @@ const STATUS: IStatus[] = [
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
inputContainer: {
|
inputContainer: {
|
||||||
marginTop: 32,
|
marginTop: 16,
|
||||||
marginBottom: 32
|
marginBottom: 16
|
||||||
},
|
},
|
||||||
inputLeft: {
|
inputLeft: {
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
|
|
Loading…
Reference in New Issue