Reorganize elements
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
6cf19e8897
commit
d85ab382f5
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue