I have successfully implemented a bootstrap button that is vertically aligned in a column on the left side of the screen using the code below:
<div class="col-sm-1 align-self-center">
<button class="btn btn-primary" type="button">Button</button>
</div>
Although the button looks exactly as intended, I realized that it shifts down when other modules expand the page downward (such as a collapsible panel in another column). It seems like the button continues to align with the center of the page as its height changes.
My inquiry is whether there exists a method to keep the button vertically centered while ensuring its position remains fixed even if the length of the page varies. Any advice or suggestions on this matter would be greatly welcomed!