mirror of
https://github.com/tooot-app/app
synced 2024-12-11 08:36:49 +01:00
Fix multiline alignment issue
This commit is contained in:
parent
0190b35b57
commit
61459cd2d2
@ -110,7 +110,8 @@ const Input: React.FC<Props> = ({
|
|||||||
styles.base,
|
styles.base,
|
||||||
{
|
{
|
||||||
borderColor: theme.border,
|
borderColor: theme.border,
|
||||||
flexDirection: multiline ? 'column' : 'row'
|
flexDirection: multiline ? 'column' : 'row',
|
||||||
|
alignItems: 'stretch'
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
@ -153,7 +154,7 @@ const Input: React.FC<Props> = ({
|
|||||||
{title}
|
{title}
|
||||||
</Animated.Text>
|
</Animated.Text>
|
||||||
) : null}
|
) : null}
|
||||||
<View style={{ flexDirection: 'row' }}>
|
<View style={{ flexDirection: 'row', alignSelf: 'flex-end' }}>
|
||||||
{options?.maxLength && value?.length ? (
|
{options?.maxLength && value?.length ? (
|
||||||
<Text style={[styles.maxLength, { color: theme.secondary }]}>
|
<Text style={[styles.maxLength, { color: theme.secondary }]}>
|
||||||
{value?.length} / {options.maxLength}
|
{value?.length} / {options.maxLength}
|
||||||
|
Loading…
Reference in New Issue
Block a user