Move translate button above media attachments/preview cards

lolsob-rspec
Claire 2022-11-30 15:03:47 +01:00
parent b15bf23f9d
commit 07eee38b87
1 changed files with 3 additions and 4 deletions

View File

@ -404,12 +404,11 @@ class StatusContent extends React.PureComponent {
onMouseLeave={this.handleMouseLeave}
lang={lang}
/>
{!hidden && translateButton}
{media}
</div>
{extraMedia}
{!hidden && translateButton}
</div>
);
} else if (parseClick) {
@ -430,9 +429,9 @@ class StatusContent extends React.PureComponent {
onMouseLeave={this.handleMouseLeave}
lang={lang}
/>
{translateButton}
{media}
{extraMedia}
{translateButton}
</div>
);
} else {
@ -451,9 +450,9 @@ class StatusContent extends React.PureComponent {
onMouseLeave={this.handleMouseLeave}
lang={lang}
/>
{translateButton}
{media}
{extraMedia}
{translateButton}
</div>
);
}