I am using the bootstrap 4 input group function to place an icon next to an input field. I want to have a fixed width of 40px for input-group-append div (that includes the icon).
The bootstrap docs say "Sizing on the individual input group elements isn’t supported." But I am sure there must be a CSS way of doing it:
<div class="form-group">
<label>Some label</label>
<div class="input-group">
<input type="text" class="form-control"/>
<div class="input-group-append">
<i class="icon"></i>
</div>
</div>
</div>
Any idea how I can do it?