stick tag input to bottom

This commit is contained in:
Eric Bailey
2023-09-27 20:43:54 -05:00
parent 6f6a34cc99
commit 4868d4864b
+15 -10
View File
@@ -396,14 +396,6 @@ export const ComposePost = observer(function ComposePost({
<QuoteEmbed quote={quote} /> <QuoteEmbed quote={quote} />
</View> </View>
) : undefined} ) : undefined}
<View
style={[
pal.border,
{borderTopWidth: 1, paddingVertical: 10, marginTop: 10},
]}>
<TagInput onChangeTags={onChangeTags} />
</View>
</ScrollView> </ScrollView>
{!extLink && suggestedLinks.size > 0 ? ( {!extLink && suggestedLinks.size > 0 ? (
<View style={s.mb5}> <View style={s.mb5}>
@@ -426,6 +418,20 @@ export const ComposePost = observer(function ComposePost({
))} ))}
</View> </View>
) : null} ) : null}
<View
style={[
pal.border,
{
borderTopWidth: 1,
paddingVertical: 10,
marginTop: 10,
paddingHorizontal: 15,
},
]}>
<TagInput onChangeTags={onChangeTags} />
</View>
<View style={[pal.border, styles.bottomBar]}> <View style={[pal.border, styles.bottomBar]}>
{canSelectImages ? ( {canSelectImages ? (
<> <>
@@ -528,8 +534,7 @@ const styles = StyleSheet.create({
bottomBar: { bottomBar: {
flexDirection: 'row', flexDirection: 'row',
paddingVertical: 10, paddingVertical: 10,
paddingLeft: 15, paddingRight: 15,
paddingRight: 20,
alignItems: 'center', alignItems: 'center',
borderTopWidth: 1, borderTopWidth: 1,
}, },