I am currently utilizing the power of Bootstrap 4's input group feature to position an icon next to an input field. My goal is to set a fixed width of 40px for the div containing the input-group-append (which houses the icon).
According to the official Bootstrap documentation, "Sizing on the individual input group elements isn't supported." However, I believe there must be a CSS workaround:
<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>
Does anyone have suggestions on how I can achieve this?