Prevent horizontal scrollbar appearing in main chat

Change-Id: If348fe714916dfeaf8b897d9415d33b3d90069de