From 618978d955f5d2f2c838b667854b5dce0d832801 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Tue, 22 Dec 2015 00:47:04 +0000 Subject: [PATCH] add appropriate CSS for the TabCompleteBar --- src/components/structures/RoomView.js | 11 ++++++++++- src/components/views/rooms/TabCompleteBar.js | 10 ++++++---- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 6233986362..d34cb28dca 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -1292,7 +1292,16 @@ module.exports = React.createClass({ else if (this.tabComplete.isTabCompleting()) { var TabCompleteBar = sdk.getComponent('rooms.TabCompleteBar'); statusBar = ( - +
+
...
+
+ +
+ ->| + Auto-complete +
+
+
); } else if (this.state.hasUnsentMessages) { diff --git a/src/components/views/rooms/TabCompleteBar.js b/src/components/views/rooms/TabCompleteBar.js index a4c804e28f..05bf2a7901 100644 --- a/src/components/views/rooms/TabCompleteBar.js +++ b/src/components/views/rooms/TabCompleteBar.js @@ -28,15 +28,17 @@ module.exports = React.createClass({ render: function() { return ( -
+
{this.props.entries.map(function(entry, i) { var image = ( - entry.imgUrl ? : null + entry.imgUrl ? : null ); return ( -
+
{image} - {entry.text} + + {entry.text} +
); })}