From 750e64deee0fe1e8d681f2160776ce359dcd63ee Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Wed, 15 Nov 2017 15:17:21 +0000 Subject: [PATCH] Pass required props to TintableSvg. --- src/components/views/elements/AppTile.js | 4 ++++ src/components/views/elements/TintableSvgButton.js | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/views/elements/AppTile.js b/src/components/views/elements/AppTile.js index 8b9f1f2cd9..e31b50be37 100644 --- a/src/components/views/elements/AppTile.js +++ b/src/components/views/elements/AppTile.js @@ -390,6 +390,8 @@ export default React.createClass({ className="mx_AppTileMenuBarWidget mx_AppTileMenuBarWidgetPadding" title={_t('Edit')} onClick={this._onEditClick} + width="10" + height="10" /> } { /* Delete widget */ } @@ -398,6 +400,8 @@ export default React.createClass({ className={deleteClasses} title={_t(deleteWidgetLabel)} onClick={this._onDeleteClick} + width="10" + height="10" /> diff --git a/src/components/views/elements/TintableSvgButton.js b/src/components/views/elements/TintableSvgButton.js index df7b7cd844..9ca2cdcbb4 100644 --- a/src/components/views/elements/TintableSvgButton.js +++ b/src/components/views/elements/TintableSvgButton.js @@ -36,6 +36,8 @@ export default class TintableSvgButton extends React.Component { className={classes}>