1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Merge pull request #1322 from matrix-org/rxl881/styling

Position add app widget link
This commit is contained in:
Richard Lewis
2017-08-21 14:03:27 +01:00
committed by GitHub

View File

@@ -226,7 +226,10 @@ module.exports = React.createClass({
onClick={this.onClickAddWidget}
role="button"
tabIndex="0"
className="mx_AddWidget_button"
className={this.state.apps.length<2 ?
"mx_AddWidget_button mx_AddWidget_button_full_width" :
"mx_AddWidget_button"
}
title={_t('Add a widget')}>
[+] {_t('Add a widget')}
</div>;