I have set up a bootstrap grid system on my webpage and I am trying to align two elements to the right, one below the other. Currently, this is how it appears: https://i.sstatic.net/UcpAJ.png
When I try to align the "Active" and "Primary" buttons underneath each other to the right using the following code snippet, it looks correct but causes layout issues on mobile devices:
<button type="button" class="btn btn-w-m btn-primary" style="margin-left: 261px;">Primary</button>
https://i.sstatic.net/27gBX.png
This is the progress so far. How can I modify the code to achieve the desired layout?
<div class="wrapper wrapper-content animated fadeInRight">
<div class="row border-bottom white-bg dashboard-header">
<div class="col-md-3">
<h4>Dummy Name</h4>
<small>Dummy Street</small><br>
<small>Dummy Apt, Some City, Some State</small><br>
<small>United States</small><br>
</div>
<div class="col-md-3">
<h5>123-456-7890</h5>
</div>
<div class="col-md-3">
<h5><a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="53203c3e360c3d32`efdceeec2auceeebcedecdc3eeecc3dec">[email protected]</a></h5>
</div>
<div class="col-md-3">
<h2 class="pull-right" style="margin-top: -5px">Active</h2><br>
<button type="button" class="btn btn-w-m btn-primary">Primary</button>
</div>
</div>
</div>