I can't seem to figure out why my SVG isn't aligning to my content. I want the arrow to scale its height with the div container on the left. It's because my content may be 1 line or 2 lines. I'm not sure how the borders will line up either.
Please can someone help?
HTML:
<div class="box3">
<div class="content">
<i class="bi bi-skip-end-circle" style="font-size:36px;"></i>
<p style="padding-left:20px">Skip content Skip content Skip content Skip content Skip content Skip content Skip content.</p>
</div>
<img src="SVG/asset2.svg" class="image">
</div>
CSS:
.box3 {
width: 700px;
min-height:54px;
display:flex;
}
.content {
display:flex;
align-items:center;
padding-left: 20px;
background: #D9F1FF;
border-top: 1px solid #7197C9;
border-left: 1px solid #7197C9;
border-bottom: 1px solid #7197C9;
font-size:15px;
border-radius: 5px;
font-family: Arial,Helvetica,sans-serif;
}
.image {
}
SVG:
<svg xmlns="http://www.w3.org/2000/svg" width="77" height="77" viewBox="0 0 40 40" preserveAspectRatio="xMidYMid"><defs><style>.cls-1{fill:#d9f1fd;}.cls-2{fill:#7197c9;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><polygon class="cls-1" points="30.6 18.77 0 1.11 0 36.44 30.6 18.77"/><polygon class="cls-2" points="0 0 0 1.16 29.75 18.33 0 35.5 0 36.66 31.75 18.33 0 0"/></g></g></svg>