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 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
|
||||||
|
@ -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>
|
||||||
)
|
)
|
||||||
|
@ -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>
|
||||||
)
|
)
|
||||||
|
@ -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={[
|
||||||
{
|
{
|
||||||
|
@ -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>
|
||||||
)
|
)
|
||||||
|
@ -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={[
|
||||||
{
|
{
|
||||||
|
@ -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>
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user