I want to decrease the black background width wise to make it more proportional to image and buttons.
This is the code for one of the component on page. Similar is the code for the other component as well.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
<div class="row">
<div class="col-sm-6">
<div class="panel panel-primary">
<div class="panel-body" style="background-color: black;">
<img src="https://via.placeholder.com/100" class="Image" alt="Image">
<div class="col text-center">
<button type="button" class="btn btn-primary">Login as a Coach</button>
<br/>
<button type="button" class="btn btn-primary">Join as a Coach</button>
</div>
</div>
</div>
</div>
<div>

Expected Output:
