I'm currently trying to replicate the layout of the second image shown below, as seen in the first image. However, I'm facing an issue with the positioning of the selection box and I can't seem to figure out why.
I've experimented with setting the width to auto, adjusting col-sm and col-md, but nothing seems to work. I'm only able to resize the box horizontally, not vertically.
Any assistance would be greatly appreciated. Thank you in advance!
Current Layout:
https://i.sstatic.net/xQJGq.png
Desired Layout:
https://i.sstatic.net/1zsMK.png
Relevant Code Snippet:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="accec3c3d8dfd8decddcec988299829f">[email protected]</a>/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<div class="panel-body">
<h2>Recevabilité</h2>
<br>
<div class="panel-body">
<div class="form-group">
<label class="question requis jsRequis control-label col-sm-2 col-md-2" for="SituationTravailleur" id="IdSituationTravailleurLabel"><strong>Type de personne (statut) <span class="sr-only">Obligatoire</span></strong></label>
<div class="reponse col-sm-10 col-md-10">
<select class="form-control valid" data-val="true" data-val-required="Le champ « Type de personne (statut) » est requis." id="IdSituationTravailleur" name="SituationTravailleur" onchange="GererListeDeroulante(this)" style="max-width:1020px" aria-required="true" aria-describedby="IdSituationTravailleur-error" aria-invalid="false"><option value="">- Sélectionner une situation -</option>
<option value="T">Travailleur (article 2 LATMP)</option>
... (other options)
</select>
<span class="field-validation-valid" data-valmsg-for="SituationTravailleur" data-valmsg-replace="true"></span>
</div>
</div>
... (additional code snippet)