mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00
Fix incorrect conditional padding logic in Chat component
This commit is contained in:
@@ -36,9 +36,7 @@ const Chat = observer(({ height, width }) => {
|
|||||||
ref={scrollRef}
|
ref={scrollRef}
|
||||||
// If there are attachments, use "100px". Otherwise, use "128px" on Android, "73px" elsewhere.
|
// If there are attachments, use "100px". Otherwise, use "128px" on Android, "73px" elsewhere.
|
||||||
pb={
|
pb={
|
||||||
chatStore.attachments.length > 0
|
isAndroid
|
||||||
? "100px"
|
|
||||||
: isAndroid
|
|
||||||
? "128px"
|
? "128px"
|
||||||
: "73px"
|
: "73px"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user