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 small = size === 'small'
const large = size === 'large' const large = size === 'large'
const textSize = small ? 'small' : large ? 'large' : 'normal' const textSize = small ? 'normal' : large ? 'large' : 'normal'
const iconSize = large ? '14px' : '10px' const iconSize = large ? '14px' : '10px'
const imageSize = large ? '22px' : '18px' const imageSize = large ? '22px' : '18px'
const showActive = isActive !== undefined const showActive = isActive !== undefined

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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