Skip to content

Commit

Permalink
fix: alignment of textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
KaustubhKumar05 committed May 23, 2024
1 parent b61aab7 commit 2e9c8b0
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export const ChatFooter = ({ onSend, children }: { onSend: (count: number) => vo
) : null}
</Flex>
{selection && (
<Flex align="center" css={{ gap: '$4', w: '100%' }}>
<Flex align={inputRef.current?.scrollHeight === 32 ? 'center' : 'end'} css={{ gap: '$4', w: '100%' }}>
<Flex
align="end"
css={{
Expand All @@ -222,8 +222,7 @@ export const ChatFooter = ({ onSend, children }: { onSend: (count: number) => vo
flexGrow: 1,
r: '$1',
'@md': {
minHeight: 'unset',
h: '$14',
minHeight: '$14',
boxSizing: 'border-box',
},
...(isLandscapeHLSStream ? { minHeight: '$14', py: 0 } : {}),
Expand Down

0 comments on commit 2e9c8b0

Please sign in to comment.