From dcc5405e8a76037763950f2598721a30bb7934aa Mon Sep 17 00:00:00 2001 From: dan Date: Mon, 28 Oct 2024 19:12:15 +0000 Subject: Make composer min height conditional and align attachments (#5976) * Make web composer min height condiitonal * Fix alignment * Fix alignment on mobile --- src/view/com/composer/text-input/TextInput.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/view/com/composer/text-input/TextInput.tsx') diff --git a/src/view/com/composer/text-input/TextInput.tsx b/src/view/com/composer/text-input/TextInput.tsx index 11bbf13d2..5d8c49abf 100644 --- a/src/view/com/composer/text-input/TextInput.tsx +++ b/src/view/com/composer/text-input/TextInput.tsx @@ -43,6 +43,7 @@ export interface TextInputRef { interface TextInputProps extends ComponentProps { richtext: RichText placeholder: string + webForceMinHeight: boolean setRichText: (v: RichText) => void onPhotoPasted: (uri: string) => void onPressPublish: (richtext: RichText) => void @@ -230,7 +231,7 @@ export const TextInput = forwardRef(function TextInputImpl( }, [t, richtext, inputTextStyle]) return ( - +