If your column in which you have an input field is limited to a certain width (how the Bootstrap column works), you can put .btninside the column.
After that, you can use the following CSS so that the width is equal to the input field:
.col.s12 > .btn {
width: 100%;
}
Of course, if buttonas an element does not bend to this CSS rule, you can use instead <a class="btn">.
source
share