Skip to content

Commit aec0f48

Browse files
authored
fix: Fixed a bug where right padding is added to messages sent by me (#1056)
Fixes: [CLNP-2923](https://sendbird.atlassian.net/browse/CLNP-2923) ### Changelogs - Fixed a bug where right padding is added to messages sent by me in mobile devices [CLNP-2923]: https://sendbird.atlassian.net/browse/CLNP-2923?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
1 parent c403a91 commit aec0f48

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/modules/GroupChannel/components/MessageList/index.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
position: relative;
1111
height: 100%;
1212
overflow-x: hidden;
13+
padding-left: 24px;
14+
padding-right: 24px;
1315
}
1416
.sendbird-separator,
1517
.sendbird-admin-message {

src/ui/MessageContent/index.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
display: inline-flex;
55
flex-direction: row;
66
position: relative;
7-
width: calc(100% - 48px);
8-
padding: 0 24px;
7+
width: 100%;
98

109
&.incoming {
1110
justify-content: flex-start;

0 commit comments

Comments
 (0)