mirror of
https://github.com/balzack/databag.git
synced 2025-04-20 16:45:25 +00:00
investigation missing background for modals
This commit is contained in:
parent
019858cbb1
commit
c9c01041bf
@ -66,7 +66,7 @@ export function Conversation({ navigation, cardId, channelId, closeConversation,
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<KeyboardAvoidingView behavior={Platform.OS === 'ios' ? 'padding' : 'height'} keyboardVerticalOffset={navigation ? 72 : 0}>
|
||||
<KeyboardAvoidingView behavior={Platform.OS === 'ios' ? 'padding' : 'height'} keyboardVerticalOffset={navigation ? 100 : 0}>
|
||||
<View style={styles.container}>
|
||||
{ !navigation && (
|
||||
<View style={styles.header}>
|
||||
|
@ -201,7 +201,6 @@ export function Profile({ drawer }) {
|
||||
onRequestClose={actions.hideDetails}
|
||||
>
|
||||
<View style={styles.modalOverlay}>
|
||||
<View style={styles.blur} />
|
||||
<KeyboardAvoidingView style={styles.modalBase} behavior={Platform.OS === 'ios' ? 'padding' : 'height'}>
|
||||
<View style={styles.modalContainer}>
|
||||
<View style={styles.modalClose}>
|
||||
|
@ -100,11 +100,6 @@ export const styles = StyleSheet.create({
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
},
|
||||
blur: {
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
backgroundColor: Colors.modalOverlay,
|
||||
},
|
||||
logo: {
|
||||
alignSelf: 'center',
|
||||
},
|
||||
@ -288,14 +283,12 @@ export const styles = StyleSheet.create({
|
||||
height: '100%',
|
||||
},
|
||||
modalBase: {
|
||||
position: 'absolute',
|
||||
top: 0,
|
||||
left: 0,
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center'
|
||||
justifyContent: 'center',
|
||||
backgroundColor: Colors.modalOverlay,
|
||||
},
|
||||
modalContainer: {
|
||||
backgroundColor: Colors.modalBase,
|
||||
|
Loading…
x
Reference in New Issue
Block a user