I have a label and a text field which I want to be displayed on the same line.
I looked this up here Label on the left side instead above an input field and changed my code to use form-inline:
<div className="form-group form-inline">
    <label style={{display: 'margin-right:10px'}}>Category</label>
    <select className="form-control" value={this.state.selectCategoryValue} onChange={this.handleSelectCat} style={{display:'inline-block'}}>
        <option value="defaultCategory" disabled selected></option>
        {categoryDesc}
    </select>
</div>
However, now there is no padding between the text and the input field, although I tried setting margin-right:
How could I add some padding between them?

 
     
     
     
    