fix typing indicator index on mobile
This commit is contained in:
1 parent
f74de3073f
commit
16e2c5cf29
5 files changed
+24
-25
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import { useAtom } from 'jotai';
|
||||
import { Overlay, OverlayBackdrop, OverlayCenter, Modal, Box } from 'folds';
|
||||
import { Overlay, OverlayBackdrop, OverlayCenter, Box } from 'folds';
|
||||
import FocusTrap from 'focus-trap-react';
|
||||
import { MessageReportInternal } from './MessageReport';
|
||||
import { MessageDeleteInternal } from './MessageDelete';
|
||||
|
||||
@@ -16,7 +16,6 @@ export const TypingDot = recipe({
|
||||
display: 'inline-block',
|
||||
backgroundColor: 'currentColor',
|
||||
borderRadius: '50%',
|
||||
zIndex: 10,
|
||||
transform: 'translateY(15%)',
|
||||
},
|
||||
],
|
||||
|
||||
@@ -13,7 +13,11 @@ export const TypingIndicator = as<'div', TypingIndicatorProps>(
|
||||
as="span"
|
||||
alignItems="Center"
|
||||
shrink="No"
|
||||
style={{ gap: toRem(size === '300' ? 1 : 2), ...style }}
|
||||
style={{
|
||||
gap: toRem(size === '300' ? 1 : 2),
|
||||
zIndex: 10,
|
||||
...style
|
||||
}}
|
||||
{...props}
|
||||
ref={ref}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user