summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorPat Lathem <patl@codero.com>2015-09-28 17:41:46 -0500
committerPat Lathem <patl@codero.com>2015-09-28 17:41:46 -0500
commitc4034b9d03e5cbbc8999180e5b77fcdd9dfe88f4 (patch)
treec30af1a54b7433478f1dafc70ae22440a02f3490 /web
parent98a74751bf944698056e9d7628566b222653372d (diff)
downloadchat-c4034b9d03e5cbbc8999180e5b77fcdd9dfe88f4.tar.gz
chat-c4034b9d03e5cbbc8999180e5b77fcdd9dfe88f4.tar.bz2
chat-c4034b9d03e5cbbc8999180e5b77fcdd9dfe88f4.zip
Add pull-left and pull-right to autocomplete command suggestions.
Diffstat (limited to 'web')
-rw-r--r--web/react/components/command_list.jsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/react/components/command_list.jsx b/web/react/components/command_list.jsx
index 63bd57c2a..553dcabe7 100644
--- a/web/react/components/command_list.jsx
+++ b/web/react/components/command_list.jsx
@@ -70,8 +70,8 @@ export default class CommandList extends React.Component {
className='command-name'
onClick={this.handleClick.bind(this, i)}
>
- <div className='command__title'><strong>{this.state.suggestions[i].suggestion}</strong></div>
- <div className='command__desc'>{this.state.suggestions[i].description}</div>
+ <div className='command__title pull-left'><strong>{this.state.suggestions[i].suggestion}</strong></div>
+ <div className='command__desc pull-right'>{this.state.suggestions[i].description}</div>
</div>
);
}
@@ -96,4 +96,4 @@ CommandList.defaultProps = {
CommandList.propTypes = {
addCommand: React.PropTypes.func,
channelId: React.PropTypes.string
-}; \ No newline at end of file
+};