mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Merge pull request #845 from trashcan/fix-autocomplete-suggestion
Add pull-left and pull-right to autocomplete command suggestions.
This commit is contained in:
@@ -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
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user