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:
parent
aaaebdaea3
commit
33f19a3f7b
@ -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>
|
||||
)
|
||||
}
|
||||
|
@ -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."
|
||||
|
Loading…
x
Reference in New Issue
Block a user