Reorganize elements

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-02-24 07:47:59 +01:00
parent 6cf19e8897
commit d85ab382f5
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 25 additions and 23 deletions

View File

@ -284,14 +284,15 @@ export default class ImageView extends React.Component {
ref={ref => this.focusLock = ref}
>
<div className="mx_ImageView_content">
<div className="mx_ImageView_panel mx_ImageView_label">
<div className="mx_ImageView_panel">
<div className="mx_ImageView_label">
<div className="mx_ImageView_name">
{ this.getName() }
</div>
<span className="mx_ImageView_size">{ sizeRes }</span>
<span>{ sizeRes }</span>
{ metadata }
</div>
<div className="mx_ImageView_panel mx_ImageView_toolbar">
<div className="mx_ImageView_toolbar">
{ redactButton }
<AccessibleButton className="mx_ImageView_button" title={_t("Rotate Right")} onClick={ this.onRotateClockwiseClick }>
<img src={require("../../../../res/img/image-view/rotate-cw.svg")} alt={ _t('Rotate clockwise') } width="18" height="18" />
@ -312,6 +313,7 @@ export default class ImageView extends React.Component {
<img src={require("../../../../res/img/image-view/close.svg")} width="18" height="18" alt={ _t('Close') } />
</AccessibleButton>
</div>
</div>
<img
src={this.props.src}
title={this.props.name}