I am facing an issue with two nested divs. One of them has a button that I want to stick to the bottom of the parent div, while the other contains text or a list of persons. The problem arises when the text is lengthy, causing it to overflow the div. I am struggling to find a solution. Here is the code snippet:
<div class="white container shadow-box-5 fixed-bottom">
<div class="fluid-container position-relative h-100">
<div class="flex-wrapper h-100">
<div class="pt-3">
<span>
Lorem ipsum dolor sit amet, consectetur adipisicing
elit. Exercitationem officia odit omnis maiores nesciunt
numquam voluptas quo perspiciatis quaerat aperiam
tempore excepturi pariatur ducimus, nihil, eveniet iure
culpa dicta minus! Lorem ipsum dolor sit amet,
consectetur adipisicing elit. Distinctio optio, pariatur
quaerat sunt quam magnam numquam. Quia reiciendis
delectus dignissimos totam cum ex repellendus aliquid
esse. Dignissimos doloremque suscipit ullam! Lorem ipsum
dolor sit amet consectetur adipisicing elit. Commodi
fugiat culpa iure quas, vero nesciunt quaerat
repellendus dolor dignissimos aspernatur odio harum,
sequi, quidem aliquam doloremque repellat quae veritatis
magnam.
</span>
</div>
<div class="position-absolute w-100 mb-4">
<button
@click="
$router.push({
name: 'ECommerce',
hash: '#productmonth',
})
"
type="button"
class="btn btn-primary btn-block"
>
Compare
</button>
</div>
</div>
</div>
Here is the current appearance of the div.