diff --git a/apps/mobile/src/components/EditorMenu/index.js b/apps/mobile/src/components/EditorMenu/index.js index 728167d32..3da11aa90 100644 --- a/apps/mobile/src/components/EditorMenu/index.js +++ b/apps/mobile/src/components/EditorMenu/index.js @@ -8,6 +8,7 @@ import { FlatList, ActivityIndicator, KeyboardAvoidingView, + StatusBar, } from 'react-native'; import { SIZE, diff --git a/apps/mobile/src/components/Menu/index.js b/apps/mobile/src/components/Menu/index.js index 55cd9cdc3..8e426c12e 100644 --- a/apps/mobile/src/components/Menu/index.js +++ b/apps/mobile/src/components/Menu/index.js @@ -45,9 +45,10 @@ export const Menu = ({close = () => {}, hide, update = () => {}}) => { /> { { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', - width: DDS.isTab ? '95%' : '90%', + paddingHorizontal: 12, + width: w - 12, alignSelf: 'center', borderRadius: br, height: '90%', borderWidth: props.hide ? 0 : 1.5, - paddingHorizontal: ph, borderColor: focus ? colors.accent : colors.nav, }}> { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', - width: '96%', + paddingHorizontal: 12, + width: '100%', alignSelf: 'center', - marginTop: Platform.OS == 'ios' ? h * 0.01 : h * 0.04, + height: 50, + marginTop: Platform.OS == 'ios' ? 0 : StatusBar.currentHeight, }}> { setDialog(true); }} style={{ - width: 40, + width: 50, height: 40, + justifyContent: 'center', + alignItems: 'flex-start', }}> - + { placeholderTextColor={colors.icon} defaultValue={title} style={{ - width: '80%', + width: '70%', fontFamily: WEIGHT.bold, fontSize: SIZE.xl, color: colors.pri, @@ -182,8 +179,7 @@ const Editor = ({navigation}) => { width: 40, height: 40, justifyContent: 'center', - alignItems: 'center', - paddingTop: 3, + alignItems: 'flex-end', }}> { }} activeOpacity={opacity} style={{ - width: DDS.isTab ? '95%' : '90%', + width: '95%', alignSelf: 'center', borderRadius: br, backgroundColor: colors.accent,