The html code I am working with is as follows:
<ol class="log">
<li class="row">
<p class="col-1 time">
17:45
</p>
<div class="col-md-10">
Here’s a comment
</div>
<p class="col-1 menu-column">
<a href="#">Edit</a>
</p>
</li>
...
</ol>
This is the layout for desktop view:
https://i.sstatic.net/xRDwF.png
And this is how it looks on a small mobile device:
https://i.sstatic.net/oIp1r.png
I want to align the edit link next to the time for the mobile version so that it only occupies 2 rows (while keeping the original layout for larger screens). Is there a way to achieve this using CSS in Bootstrap 4?