Created by: dahfazz
Inside a flex container, one may set a .flex-grow-1
class on element to give it the available space.
When element is a .form-control
, that rule is broken because of width: 100%
property.
I wrote a demo on codepen -> https://codepen.io/dahfazz/pen/PVajJx