From 3eb531b00004f3752ec825350df1943c33028ac1 Mon Sep 17 00:00:00 2001 From: dan Date: Fri, 1 Nov 2024 22:02:39 +0000 Subject: Composer UI fixes (#6065) * Fix close button overlap * Make footer actually sticky on web * Special toast for thread * Only stick to bottom for last post --- src/view/com/composer/text-input/TextInput.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (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 b9c9579fb..42d9bfc54 100644 --- a/src/view/com/composer/text-input/TextInput.tsx +++ b/src/view/com/composer/text-input/TextInput.tsx @@ -44,6 +44,7 @@ interface TextInputProps extends ComponentProps { richtext: RichText placeholder: string webForceMinHeight: boolean + hasRightPadding: boolean isActive: boolean setRichText: (v: RichText) => void onPhotoPasted: (uri: string) => void @@ -61,6 +62,7 @@ export const TextInput = forwardRef(function TextInputImpl( { richtext, placeholder, + hasRightPadding, setRichText, onPhotoPasted, onNewLink, @@ -232,7 +234,7 @@ export const TextInput = forwardRef(function TextInputImpl( }, [t, richtext, inputTextStyle]) return ( - +