I have been working on creating a modal that resembles a chat box. I have completed most of the work, but I am facing an issue with the input area not being fixed. My goal is to have the input text displayed on the footer of the modal, but it seems like there is an invisible left margin or padding in the modal footer that I cannot remove using CSS. I want the entire modal footer field to be fully occupied.
I have tried setting both padding and margin to 0, but it didn't solve the problem.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="63010c0c17101711021323564d504d51">[email protected]</a>/dist/css/bootstrap.min.css" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<div class="modal modal-dialog modal-dialog-centered modal-dialog-scrollable">
<div class="modal-content">
<div class="modal-header">
<img src="https://via.placeholder.com/50" alt="picture of angie" class="chatbox-pic img-fluid" />
<h1 class="modal-title fs-5 mx-3" id="chat-modalLabel">Angie</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="chatbox">
<p class="chat1">Hi! I really like your picture!</p>
<div class="clear"></div>
<p class="chat2">
Thanks! I love yours, btw. You look busy with work.
</p>
<div class="clear"></div>
<p class="chat1">
I do. Thank goodness THWP is for busy people like us.
</p>
<div class="clear"></div>
<p class="chat2">Loving this app. It's lovable with you in it.</p>
<div class="clear"></div>
<p class="chat1">LOL. Where you at right now? Work?</p>
<div class="clear"></div>
<p class="chat2">Yeah. I'm near Rosenberg. How about you?</p>
<div class="clear"></div>
<p class="chat1">That's just a 15-min drive from here!</p>
<div class="clear"></div>
<p class="chat2">Nice! You free today?</p>
<div class="clear"></div>
<p class="chat1">Sadly, no.</p>
<div class="clear"></div>
<p class="chat2">Bummer.</p>
<div class="clear"></div>
<p class="chat1">I'm free this Saturday. Maybe, we could...</p>
</div>
</div>
<div class="modal-footer justify-content-between">
<form>
<label for="message-text"></label>
<div class="input-group">
<input type="text" class="form-control w-100" id="message-text" aria-describedby="send-button" />
<div class="input-group-append">
<a href="#" class="btn input-group-text"><span
class="material-symbols-rounded align-middle"
id="send-button"
>send</span
></a
>
</div>
</div>
</form>
</div>
</div>
</div>