mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-30 00:56:52 +00:00
Move translate button above media attachments/preview cards
This commit is contained in:
parent
afdd75e1f9
commit
e64909d8bf
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue