Skip to content

Commit 7518a2a

Browse files
author
Sravan S
authored
fix: Quoted text alignment for reply outgoing message(#635)
Setup alignment for quoted message Also remove padding to make it look nicer Fixes: https://sendbird.atlassian.net/browse/UIKIT-4130
1 parent 237dcf3 commit 7518a2a

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

src/modules/App/stories/index.stories.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import { sendbirdSelectors } from '../../..';
1414
import { fitPageSize } from './utils';
1515

1616
const appId = process.env.STORYBOOK_APP_ID;
17-
// const userId = 'leo.sub';
1817
const userId = 'sendbird';
1918

2019
export default { title: 'App-Component' };

src/ui/QuoteMessage/index.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,16 @@
160160
.sendbird-quote-message.unavailable:hover {
161161
cursor: default;
162162
}
163+
164+
.sendbird-message-content.outgoing {
165+
.sendbird-quote-message__replied-to {
166+
flex-direction: row-reverse;
167+
padding-right: 0px;
168+
}
169+
}
170+
171+
.sendbird-message-content.incoming {
172+
.sendbird-quote-message__replied-to {
173+
padding-left: 0px;
174+
}
175+
}

0 commit comments

Comments
 (0)