I need to adjust the height of my alert box, so I attempted the following:
@alert-box: 60px;
.alert-msg {
height: @alert-box;
margin: 20px 0px;
}
However, the outcome was
In the image provided, it is evident that the text within the second box is not vertically centered. Here is the HTML part
<div class="col-md-5 col-md-offset-1 portfolio-item">
<div class="alert alert-danger alert-msg" role="alert">
<span>Lorem ipsum dolor sit amet, consectetur.</span>
</div>
<div class="alert alert-danger alert-msg">
<strong>Oh snap!</strong> <a href="#" class="alert-link">Change a few things up</a> and try submitting again.
</div>
<div class="alert alert-danger alert-msg">
<strong>Oh snap!</strong> <a href="#" class="alert-link">Change a few things up</a> and try submitting again.
</div>
<div class="alert alert-danger alert-msg">
<strong>Oh snap!</strong> <a href="#" class="alert-link">Change a few things up</a> and try submitting again.
</div>
</div>
Is there a way to center the text within the box?