diff options
author | Pat Lathem <patl@codero.com> | 2015-09-28 17:41:46 -0500 |
---|---|---|
committer | Pat Lathem <patl@codero.com> | 2015-09-28 17:41:46 -0500 |
commit | c4034b9d03e5cbbc8999180e5b77fcdd9dfe88f4 (patch) | |
tree | c30af1a54b7433478f1dafc70ae22440a02f3490 /web | |
parent | 98a74751bf944698056e9d7628566b222653372d (diff) | |
download | chat-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.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 +}; |