|
@ -226,7 +226,7 @@ export default class StatusContent extends React.PureComponent { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return ( |
|
|
return ( |
|
|
<div className={classNames} tabIndex='0' onMouseDown={this.handleMouseDown} onMouseUp={this.handleMouseUp}> |
|
|
|
|
|
|
|
|
<div className={classNames} tabIndex='0' onMouseDown={this.handleMouseDown} onMouseUp={this.handleMouseUp} ref={this.setRef}> |
|
|
<p |
|
|
<p |
|
|
style={{ marginBottom: hidden && status.get('mentions').isEmpty() ? '0px' : null }} |
|
|
style={{ marginBottom: hidden && status.get('mentions').isEmpty() ? '0px' : null }} |
|
|
> |
|
|
> |
|
@ -241,7 +241,6 @@ export default class StatusContent extends React.PureComponent { |
|
|
|
|
|
|
|
|
<div className={`status__content__spoiler ${!hidden ? 'status__content__spoiler--visible' : ''}`}> |
|
|
<div className={`status__content__spoiler ${!hidden ? 'status__content__spoiler--visible' : ''}`}> |
|
|
<div |
|
|
<div |
|
|
ref={this.setRef} |
|
|
|
|
|
style={directionStyle} |
|
|
style={directionStyle} |
|
|
tabIndex={!hidden ? 0 : null} |
|
|
tabIndex={!hidden ? 0 : null} |
|
|
dangerouslySetInnerHTML={content} |
|
|
dangerouslySetInnerHTML={content} |
|
@ -261,9 +260,9 @@ export default class StatusContent extends React.PureComponent { |
|
|
onMouseDown={this.handleMouseDown} |
|
|
onMouseDown={this.handleMouseDown} |
|
|
onMouseUp={this.handleMouseUp} |
|
|
onMouseUp={this.handleMouseUp} |
|
|
tabIndex='0' |
|
|
tabIndex='0' |
|
|
|
|
|
ref={this.setRef} |
|
|
> |
|
|
> |
|
|
<div |
|
|
<div |
|
|
ref={this.setRef} |
|
|
|
|
|
dangerouslySetInnerHTML={content} |
|
|
dangerouslySetInnerHTML={content} |
|
|
lang={status.get('language')} |
|
|
lang={status.get('language')} |
|
|
className='status__content__text' |
|
|
className='status__content__text' |
|
@ -278,8 +277,9 @@ export default class StatusContent extends React.PureComponent { |
|
|
className='status__content' |
|
|
className='status__content' |
|
|
style={directionStyle} |
|
|
style={directionStyle} |
|
|
tabIndex='0' |
|
|
tabIndex='0' |
|
|
|
|
|
ref={this.setRef} |
|
|
> |
|
|
> |
|
|
<div ref={this.setRef} className='status__content__text' dangerouslySetInnerHTML={content} lang={status.get('language')} tabIndex='0' /> |
|
|
|
|
|
|
|
|
<div className='status__content__text' dangerouslySetInnerHTML={content} lang={status.get('language')} tabIndex='0' /> |
|
|
{media} |
|
|
{media} |
|
|
</div> |
|
|
</div> |
|
|
); |
|
|
); |
|
|