I'm using ember-bootstrap and the following element:
<form.element @controlType="text" @label="First Name:" @property="firstName" />
which produces the following HTML
<div class="form-group row">
<label class="col-sm-4 col-form-label" for="ember198-field">First Name</label>
<div class="col-sm-10">
<input id="ember198-field" class="form-control" type="text">
</div>
</div>
How do I go about customizing the col-sm-10 in the enclosing <div> for the input element?
Note that Ember Bootstrap forms have three layouts:
You seem to be using the default horizontal layout. A different layout may be more suitable to you.
See:
If you are cool with the horizontal layout and simply want to tweak column sizes, use the
@horizontalLabelGridClassargument on the form or on individual element. This will tweak the class on the<label>and the class on the sibling<div>will be adjusted accordingly.