I am facing an issue with the alignment of a form on different devices. The form looks correct on larger devices, like PC monitors, as shown in this image: https://i.sstatic.net/FiEyt.png
However, on smaller devices, it appears like this: https://i.sstatic.net/zEONs.png
The button is no longer on the same line as the input field. Here is a snippet of my code:
<div class="form-group ">
<label class="col-md-2 control-label">Title</label>
<div class="col-md-10">
<div class="row">
<div class="col-md-10">
<input id="title" class="form-control" placeholder="Title" autocomplete="off" name="title" type="text" value="">
</div>
<div class="col-md-2">
<a id="btn-verify" class="btn btn-primary pull-right">Verify</a>
</div>
</div>
</div>
</div>
I am using Bootstrap in my project. How can I ensure that the form is correctly aligned on smaller devices as well?