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