mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-25 01:24:02 -05: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}
|
onMouseLeave={this.handleMouseLeave}
|
||||||
lang={lang}
|
lang={lang}
|
||||||
/>
|
/>
|
||||||
|
{!hidden && translateButton}
|
||||||
{media}
|
{media}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{extraMedia}
|
{extraMedia}
|
||||||
|
|
||||||
{!hidden && translateButton}
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
} else if (parseClick) {
|
} else if (parseClick) {
|
||||||
@ -430,9 +429,9 @@ class StatusContent extends React.PureComponent {
|
|||||||
onMouseLeave={this.handleMouseLeave}
|
onMouseLeave={this.handleMouseLeave}
|
||||||
lang={lang}
|
lang={lang}
|
||||||
/>
|
/>
|
||||||
|
{translateButton}
|
||||||
{media}
|
{media}
|
||||||
{extraMedia}
|
{extraMedia}
|
||||||
{translateButton}
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
@ -451,9 +450,9 @@ class StatusContent extends React.PureComponent {
|
|||||||
onMouseLeave={this.handleMouseLeave}
|
onMouseLeave={this.handleMouseLeave}
|
||||||
lang={lang}
|
lang={lang}
|
||||||
/>
|
/>
|
||||||
|
{translateButton}
|
||||||
{media}
|
{media}
|
||||||
{extraMedia}
|
{extraMedia}
|
||||||
{translateButton}
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user