mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-13 18:22:44 +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 { View, SafeAreaView } from 'react-native';
|
||||||
import styles from './stickyBarStyles';
|
import styles from './stickyBarStyles';
|
||||||
|
|
||||||
const StickyBar = ({ children, isFixedFooter }) => (
|
const StickyBar = ({ children, isFixedFooter, style }) => (
|
||||||
<SafeAreaView>
|
<SafeAreaView>
|
||||||
<View style={[styles.container, isFixedFooter && styles.fixedFooter]}>{children}</View>
|
<View style={[styles.container, isFixedFooter && styles.fixedFooter, style]}>{children}</View>
|
||||||
</SafeAreaView>
|
</SafeAreaView>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ import EStyleSheet from 'react-native-extended-stylesheet';
|
|||||||
|
|
||||||
export default EStyleSheet.create({
|
export default EStyleSheet.create({
|
||||||
searchInput: {
|
searchInput: {
|
||||||
marginTop: 16,
|
marginTop: 32,
|
||||||
},
|
},
|
||||||
searchedFlatList: {
|
searchedFlatList: {
|
||||||
marginTop: 16,
|
marginTop: 16,
|
||||||
|
@ -4,7 +4,6 @@ export default EStyleSheet.create({
|
|||||||
container: {
|
container: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
alignItems: 'stretch',
|
|
||||||
backgroundColor: '$primaryBackgroundColor',
|
backgroundColor: '$primaryBackgroundColor',
|
||||||
},
|
},
|
||||||
textWrapper: {
|
textWrapper: {
|
||||||
|
@ -219,8 +219,8 @@ const MarkdownEditorView = ({
|
|||||||
return (
|
return (
|
||||||
<KeyboardAvoidingView
|
<KeyboardAvoidingView
|
||||||
style={styles.container}
|
style={styles.container}
|
||||||
keyboardVerticalOffset={Platform.select({ ios: 0, android: 30 })}
|
keyboardVerticalOffset={Platform.select({ ios: 0, android: 25 })}
|
||||||
behavior={Platform.OS === 'ios' ? 'padding' : 'height'}
|
behavior="padding"
|
||||||
>
|
>
|
||||||
{!isPreviewActive ? (
|
{!isPreviewActive ? (
|
||||||
<ThemeContainer>
|
<ThemeContainer>
|
||||||
|
Loading…
Reference in New Issue
Block a user