diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-09-29 10:07:00 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-09-29 10:07:00 -0400 |
commit | d8d850b2f759e4ba54fe56a3ceb1f6e2c8ac2eb6 (patch) | |
tree | 9aa0be8b737b622bbcbbe88aaf71bcd72cddc1e4 | |
parent | d73aae9b27204e224db0a0ca62ce4fbf7f2af31f (diff) | |
parent | c4034b9d03e5cbbc8999180e5b77fcdd9dfe88f4 (diff) | |
download | chat-d8d850b2f759e4ba54fe56a3ceb1f6e2c8ac2eb6.tar.gz chat-d8d850b2f759e4ba54fe56a3ceb1f6e2c8ac2eb6.tar.bz2 chat-d8d850b2f759e4ba54fe56a3ceb1f6e2c8ac2eb6.zip |
Merge pull request #845 from trashcan/fix-autocomplete-suggestion
Add pull-left and pull-right to autocomplete command suggestions.
-rw-r--r-- | web/react/components/command_list.jsx | 6 |
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 +}; |