Fix interaction between CWs and hashtag bars

This commit is contained in:
Claire 2023-08-25 21:54:15 +02:00
parent 7ae45676c8
commit c226d00490
2 changed files with 2 additions and 3 deletions

View file

@ -781,7 +781,7 @@ class Status extends ImmutablePureComponent {
}, 'focusable');
const {statusContentProps, hashtagBar} = getHashtagBarForStatus(status);
media.push(hashtagBar);
contentMedia.push(hashtagBar);
return (
<HotKeys handlers={handlers}>

View file

@ -305,6 +305,7 @@ class DetailedStatus extends ImmutablePureComponent {
}
const {statusContentProps, hashtagBar} = getHashtagBarForStatus(status);
contentMedia.push(hashtagBar);
return (
<div style={outerStyle}>
@ -331,8 +332,6 @@ class DetailedStatus extends ImmutablePureComponent {
{...statusContentProps}
/>
{hashtagBar}
<div className='detailed-status__meta'>
<a className='detailed-status__datetime' href={status.get('url')} target='_blank' rel='noopener noreferrer'>
<FormattedDate value={new Date(status.get('created_at'))} hour12={false} year='numeric' month='short' day='2-digit' hour='2-digit' minute='2-digit' />