mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-13 09:34:20 +03:00
Fix android modal padding and editor buttons position
This commit is contained in:
parent
2a82bb7143
commit
c1a25fdf40
@ -2,9 +2,9 @@ import React from 'react';
|
||||
import { View, SafeAreaView } from 'react-native';
|
||||
import styles from './stickyBarStyles';
|
||||
|
||||
const StickyBar = ({ children, isFixedFooter }) => (
|
||||
const StickyBar = ({ children, isFixedFooter, style }) => (
|
||||
<SafeAreaView>
|
||||
<View style={[styles.container, isFixedFooter && styles.fixedFooter]}>{children}</View>
|
||||
<View style={[styles.container, isFixedFooter && styles.fixedFooter, style]}>{children}</View>
|
||||
</SafeAreaView>
|
||||
);
|
||||
|
||||
|
@ -2,7 +2,7 @@ import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
|
||||
export default EStyleSheet.create({
|
||||
searchInput: {
|
||||
marginTop: 16,
|
||||
marginTop: 32,
|
||||
},
|
||||
searchedFlatList: {
|
||||
marginTop: 16,
|
||||
|
@ -4,7 +4,6 @@ export default EStyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
flexDirection: 'column',
|
||||
alignItems: 'stretch',
|
||||
backgroundColor: '$primaryBackgroundColor',
|
||||
},
|
||||
textWrapper: {
|
||||
|
@ -219,8 +219,8 @@ const MarkdownEditorView = ({
|
||||
return (
|
||||
<KeyboardAvoidingView
|
||||
style={styles.container}
|
||||
keyboardVerticalOffset={Platform.select({ ios: 0, android: 30 })}
|
||||
behavior={Platform.OS === 'ios' ? 'padding' : 'height'}
|
||||
keyboardVerticalOffset={Platform.select({ ios: 0, android: 25 })}
|
||||
behavior="padding"
|
||||
>
|
||||
{!isPreviewActive ? (
|
||||
<ThemeContainer>
|
||||
|
Loading…
Reference in New Issue
Block a user