Skip to content

Commit adc74ee

Browse files
authored
fix: child message width should fit content (#1185)
Fixes [AC-1080](https://sendbird.atlassian.net/browse/AC-1080) ### Changelogs - Fixed a bug where replied child message width does not fit content ### Before <img width="521" alt="Screenshot 2024-07-31 at 3 29 59 PM" src="https://github.com/user-attachments/assets/6a5536dc-ab1d-4d62-8e00-0ea85d3dcc88"> <img width="484" alt="Screenshot 2024-07-31 at 3 30 55 PM" src="https://github.com/user-attachments/assets/73caed02-7d6b-41c7-991c-34fb357d8f41"> ### After <img width="511" alt="Screenshot 2024-07-31 at 3 29 46 PM" src="https://github.com/user-attachments/assets/1cebbbb5-ecab-47d5-81d9-f8f91b435648"> <img width="520" alt="Screenshot 2024-07-31 at 3 31 01 PM" src="https://github.com/user-attachments/assets/c9ffa703-1fb8-4b0d-9b79-a986305146af"> [AC-1080]: https://sendbird.atlassian.net/browse/AC-1080?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
1 parent 4814ef6 commit adc74ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/MessageContent/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,10 @@
291291
flex-direction: column;
292292
position: relative;
293293
width: fit-content;
294+
align-items: flex-end;
294295

295296
.sendbird-message-content__middle__message-item-body {
296297
box-sizing: border-box;
297-
width: 100%;
298298
}
299299
}
300300

0 commit comments

Comments
 (0)