Skip to content

Commit 5c0564d

Browse files
authored
chore: fix typo and unused css props (#1048)
Confirmed that this change doesn't make any effect ### Fix * Fix typo * Remove CSS `order` props because it's meaningless
1 parent 825868a commit 5c0564d

File tree

4 files changed

+1
-10
lines changed

4 files changed

+1
-10
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
.sendbird-conversation__messages {
2020
overflow: hidden;
2121
flex: 1 1 0;
22-
order: 2;
2322
}
2423

2524
.sendbird-conversation__messages-list {
@@ -31,7 +30,6 @@
3130

3231
.sendbird-conversation__footer {
3332
width: 100%;
34-
order: 3;
3533
padding: 0px 0px 24px 0px;
3634
}
3735

src/modules/GroupChannel/components/Message/MessageView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ const MessageView = (props: MessageViewProps) => {
189189
}, [mentionedUserIds]);
190190

191191
/**
192-
* Move the messsage list scroll
192+
* Move the message list scroll
193193
* when the message's height is changed by `showEdit` OR `message.reactions`
194194
*/
195195
useDidMountEffect(() => {

src/modules/OpenChannel/components/OpenChannelUI/open-channel-ui.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@
1313
.sendbird-openchannel-conversation-scroll {
1414
overflow-y: auto;
1515
flex: 1 1 0;
16-
order: 2;
1716
width: 100%;
1817
}
1918

2019
.sendbird-openchannel-footer {
21-
order: 3;
2220
padding: 12px 24px 24px 24px;
2321
}
2422

src/ui/ThreadReplies/index.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@
1818
background-color: t(bg-0);
1919
}
2020

21-
// inside layout
22-
flex: none;
23-
order: 0;
24-
flex-grow: 0;
25-
2621
&:hover {
2722
@include themed() {
2823
background-color: t(bg-1);

0 commit comments

Comments
 (0)