Clipclop tweaks (#3851)

* scroll on input resize

* add back the padding 🙊

* fix timestamps
This commit is contained in:
Hailey
2024-05-03 15:08:59 -07:00
committed by GitHub
parent 876816675e
commit feff55a14a
5 changed files with 20 additions and 13 deletions
+5
View File
@@ -32,6 +32,11 @@ export let MessageItem = ({
next.sender?.did === currentAccount?.did
const isLastInGroup = useMemo(() => {
// TODO this means it's a placeholder. Let's figure out the right way to do this though!
if (item.id.length > 13) {
return false
}
// if the next message is from a different sender, then it's the last in the group
if (isFromSelf ? !isNextFromSelf : isNextFromSelf) {
return true