Updated StatusActionBarItem to not show title on min BREAKPOINT_SMALL
• Updated: - StatusActionBarItem to not show title on min BREAKPOINT_SMALL
This commit is contained in:
parent
9a61bea577
commit
763aa63dc2
@ -2,7 +2,7 @@ import React from 'react'
|
|||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import {
|
import {
|
||||||
CX,
|
CX,
|
||||||
BREAKPOINT_EXTRA_SMALL,
|
BREAKPOINT_SMALL,
|
||||||
} from '../constants'
|
} from '../constants'
|
||||||
import Responsive from '../features/ui/util/responsive_component'
|
import Responsive from '../features/ui/util/responsive_component'
|
||||||
import Button from './button'
|
import Button from './button'
|
||||||
@ -55,7 +55,7 @@ class StatusActionBarItem extends React.PureComponent {
|
|||||||
>
|
>
|
||||||
{
|
{
|
||||||
!!title &&
|
!!title &&
|
||||||
<Responsive min={BREAKPOINT_EXTRA_SMALL}>
|
<Responsive min={BREAKPOINT_SMALL}>
|
||||||
<Text color='inherit' size='small' weight={weight}>
|
<Text color='inherit' size='small' weight={weight}>
|
||||||
{title}
|
{title}
|
||||||
</Text>
|
</Text>
|
||||||
|
Loading…
Reference in New Issue
Block a user