Position add app widget link

This commit is contained in:
Richard Lewis 2017-08-21 11:29:42 +01:00
parent fde6314e0f
commit e93a1fac3d

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>;