Updated ListItem and PopoverComponents text sizes
• Updated: - ListItem and PopoverComponents text sizes
This commit is contained in:
parent
f6966ff382
commit
3f6d8bd2c8
@ -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
|
||||
|
@ -70,7 +70,7 @@ class GroupMemberOptionsPopover extends PureComponent {
|
||||
<List
|
||||
scrollKey='group_options'
|
||||
items={listItems}
|
||||
size='large'
|
||||
size={isXS ? 'large' : 'small'}
|
||||
/>
|
||||
</PopoverLayout>
|
||||
)
|
||||
|
@ -147,7 +147,7 @@ class GroupOptionsPopover extends ImmutablePureComponent {
|
||||
<List
|
||||
scrollKey='group_options'
|
||||
items={listItems}
|
||||
size='large'
|
||||
size={isXS ? 'large' : 'small'}
|
||||
/>
|
||||
</PopoverLayout>
|
||||
)
|
||||
|
@ -41,7 +41,7 @@ class NavSettingsPopover extends PureComponent {
|
||||
return (
|
||||
<PopoverLayout width={240}>
|
||||
<List
|
||||
size='large'
|
||||
size='small'
|
||||
scrollKey='profile_options'
|
||||
items={[
|
||||
{
|
||||
|
@ -291,7 +291,7 @@ class ProfileOptionsPopover extends PureComponent {
|
||||
<List
|
||||
scrollKey='profile_options'
|
||||
items={listItems}
|
||||
size='large'
|
||||
size={isXS ? 'large' : 'small'}
|
||||
/>
|
||||
</PopoverLayout>
|
||||
)
|
||||
|
@ -44,7 +44,7 @@ class SidebarMorePopover extends PureComponent {
|
||||
return (
|
||||
<PopoverLayout width={240}>
|
||||
<List
|
||||
size='large'
|
||||
size='small'
|
||||
scrollKey='profile_options'
|
||||
items={[
|
||||
{
|
||||
|
@ -485,9 +485,9 @@ class StatusOptionsPopover extends ImmutablePureComponent {
|
||||
onClose={this.handleClosePopover}
|
||||
>
|
||||
<List
|
||||
size='large'
|
||||
scrollKey='profile_options'
|
||||
items={menu}
|
||||
size={isXS ? 'large' : 'small'}
|
||||
/>
|
||||
</PopoverLayout>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user