Updated ListItem and PopoverComponents text sizes

• Updated:
- ListItem and PopoverComponents text sizes
This commit is contained in:
mgabdev 2020-07-24 18:54:44 -05:00
parent f6966ff382
commit 3f6d8bd2c8
7 changed files with 7 additions and 7 deletions

View File

@ -62,7 +62,7 @@ export default class ListItem extends PureComponent {
const small = size === 'small'
const large = size === 'large'
const textSize = small ? 'small' : large ? 'large' : 'normal'
const textSize = small ? 'normal' : large ? 'large' : 'normal'
const iconSize = large ? '14px' : '10px'
const imageSize = large ? '22px' : '18px'
const showActive = isActive !== undefined

View File

@ -70,7 +70,7 @@ class GroupMemberOptionsPopover extends PureComponent {
<List
scrollKey='group_options'
items={listItems}
size='large'
size={isXS ? 'large' : 'small'}
/>
</PopoverLayout>
)

View File

@ -147,7 +147,7 @@ class GroupOptionsPopover extends ImmutablePureComponent {
<List
scrollKey='group_options'
items={listItems}
size='large'
size={isXS ? 'large' : 'small'}
/>
</PopoverLayout>
)

View File

@ -41,7 +41,7 @@ class NavSettingsPopover extends PureComponent {
return (
<PopoverLayout width={240}>
<List
size='large'
size='small'
scrollKey='profile_options'
items={[
{

View File

@ -291,7 +291,7 @@ class ProfileOptionsPopover extends PureComponent {
<List
scrollKey='profile_options'
items={listItems}
size='large'
size={isXS ? 'large' : 'small'}
/>
</PopoverLayout>
)

View File

@ -44,7 +44,7 @@ class SidebarMorePopover extends PureComponent {
return (
<PopoverLayout width={240}>
<List
size='large'
size='small'
scrollKey='profile_options'
items={[
{

View File

@ -485,9 +485,9 @@ class StatusOptionsPopover extends ImmutablePureComponent {
onClose={this.handleClosePopover}
>
<List
size='large'
scrollKey='profile_options'
items={menu}
size={isXS ? 'large' : 'small'}
/>
</PopoverLayout>
)