Add pull-left and pull-right to autocomplete command suggestions.

Этот коммит содержится в:
Pat Lathem
2015-09-28 17:41:46 -05:00
родитель 98a74751bf
Коммит c4034b9d03

Просмотреть файл

@@ -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
};
};