Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit c0f0425

Browse files
authored
Merge pull request #1322 from matrix-org/rxl881/styling
Position add app widget link
2 parents e8e3117 + e93a1fa commit c0f0425

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/views/rooms/AppsDrawer.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,10 @@ module.exports = React.createClass({
226226
onClick={this.onClickAddWidget}
227227
role="button"
228228
tabIndex="0"
229-
className="mx_AddWidget_button"
229+
className={this.state.apps.length<2 ?
230+
"mx_AddWidget_button mx_AddWidget_button_full_width" :
231+
"mx_AddWidget_button"
232+
}
230233
title={_t('Add a widget')}>
231234
[+] {_t('Add a widget')}
232235
</div>;

0 commit comments

Comments
 (0)