mirror of https://github.com/vector-im/riot-web
Hide padding if last control.
parent
3ab8b1f866
commit
fdec4b36c9
|
@ -568,7 +568,8 @@ export default class AppTile extends React.Component {
|
||||||
{ /* Edit widget */ }
|
{ /* Edit widget */ }
|
||||||
{ showEditButton && <TintableSvgButton
|
{ showEditButton && <TintableSvgButton
|
||||||
src="img/edit_green.svg"
|
src="img/edit_green.svg"
|
||||||
className="mx_AppTileMenuBarWidget mx_AppTileMenuBarWidgetPadding"
|
className={"mx_AppTileMenuBarWidget " +
|
||||||
|
(this.props.showDelete ? "mx_AppTileMenuBarWidgetPadding" : "")}
|
||||||
title={_t('Edit')}
|
title={_t('Edit')}
|
||||||
onClick={this._onEditClick}
|
onClick={this._onEditClick}
|
||||||
width="10"
|
width="10"
|
||||||
|
|
Loading…
Reference in New Issue