i'm building a form in a full-width fluid layout with 2 columns, the label column and the inputs column.
the problem is because it is a fluid layout with wide screens a col-2 label is too big and col-1 is too small.
is there a way to give a max width to the col-form-label column or do i need to create somme custom CSS for this columns?
simple demo : https://codepen.io/seltix/pen/aWgVjR
<div class="formcontainer">
<div class="form-group row">
<label class="col-12 col-lg-2 col-form-label">Label</label>
<div class="col-12 col-lg-10">
<input class="form-control" type="text" value="">
</div>
</div>
<div class="form-group row">
<label class="col-12 col-lg-2 col-form-label">Longer label</label>
<div class="col-12 col-lg-10">
<input class="form-control" type="text" value="">
</div>
</div>
<div class="form-group row">
<label class="col-12 col-lg-2 col-form-label">Longer label (extra)</label>
<div class="col-12 col-lg-10">
<input class="form-control" type="text" value="">
</div>
</div>
</div>
bootstrap 4 form source : https://v4-alpha.getbootstrap.com/components/forms/#textual-inputs
thanks!