Added missing size prop to Lists in popover for isXS

• Added:
- missing size prop to Lists in popover for isXS
This commit is contained in:
mgabdev 2020-12-31 16:39:07 -05:00
parent aaaebdaea3
commit 33f19a3f7b
2 changed files with 9 additions and 2 deletions

View File

@ -78,7 +78,10 @@ class ChatMessageOptionsPopover extends React.PureComponent {
isXS={isXS}
onClose={this.handleOnClosePopover}
>
<List items={items} />
<List
size={isXS ? 'large' : 'small'}
items={items}
/>
</PopoverLayout>
)
}

View File

@ -84,7 +84,10 @@ class ComposePostDesinationPopover extends ImmutablePureComponent {
!isGroupsSelected &&
<div className={[_s.d, _s.w100PC].join(' ')}>
<Text className={[_s.d, _s.px15, _s.py10, _s.bgSecondary].join(' ')}>Post to:</Text>
<List items={mainItems} />
<List
size={isXS ? 'large' : 'normal'}
items={mainItems}
/>
</div>
}
{
@ -105,6 +108,7 @@ class ComposePostDesinationPopover extends ImmutablePureComponent {
</div>
<div className={[_s.d, _s.w100PC, _s.overflowYScroll, _s.maxH340PX].join(' ')}>
<List
size={isXS ? 'large' : 'normal'}
scrollKey='groups-post-destination-add'
showLoading={groups.length === 0}
emptyMessage="You are not a member of any groups yet."