mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Bugfix / Fix message bubble, notifications slideup phone and overflow and conversation scrolling (#144)
* Fix overflow on message bubbles * Fix messages scrolling * fix(phone/messages): Fix notification slide when in messages app
This commit is contained in:
1 parent
f4834b78c8
commit
0c602f1767
7 files changed
+84
-85
No files matched your search
@@ -35,6 +35,9 @@ const useStyles = makeStyles((theme) => ({
|
||||
borderRadius: '15px',
|
||||
textOverflow: 'ellipsis',
|
||||
},
|
||||
message: {
|
||||
wordBreak: 'break-all',
|
||||
},
|
||||
}));
|
||||
|
||||
const isImage = (url) => {
|
||||
@@ -54,7 +57,7 @@ export const MessageBubble = ({
|
||||
return (
|
||||
<div>
|
||||
<Paper className={message.isMine ? classes.mySms : classes.sms} variant="outlined">
|
||||
<Box>
|
||||
<Box className={classes.message}>
|
||||
{isImage(message.message) ? (
|
||||
<img src={message.message} className={classes.imageMessage} alt="multimedia" />
|
||||
) : (
|
||||
|
||||
Reference in new issue
Block a user