Position add app widget link

pull/21833/head
Richard Lewis 2017-08-21 11:29:42 +01:00
parent fde6314e0f
commit e93a1fac3d
1 changed files with 4 additions and 1 deletions

View File

@ -226,7 +226,10 @@ module.exports = React.createClass({
onClick={this.onClickAddWidget} onClick={this.onClickAddWidget}
role="button" role="button"
tabIndex="0" 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')}> title={_t('Add a widget')}>
[+] {_t('Add a widget')} [+] {_t('Add a widget')}
</div>; </div>;