I have a line that is being aligned in the center as follows:
.row{
display: flex;
justify-content: center;
}
Inside this line there are two columns, one with a select and another with radio buttons that appears according to the option selected in the select. I need the radio buttons to be next to the centralized select.
I tried something like:
<div class="row">
<div class="col-3">
<div class="select">
<select [(ngModel)]="controlaRadios" name="primeiroFiltroName" class="select-text">
<option hidden selected class="dropdown-item">Primeiro filtro</option>
<option value="1" class="dropdown-item">Todos</option>
<option value="2" class="dropdown-item">Tipo de anúncio</option>
</select>
<span class="select-highlight"></span>
<span class="select-bar"></span>
</div>
</div>
<div *ngIf="controlaRadios == 2" class="col-3">
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" class="custom-control-input" id="defaultInline1" name="inlineDefaultRadiosExample">
<label class="custom-control-label" for="defaultInline1">Premium</label>
</div>
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" class="custom-control-input" id="defaultInline2" name="inlineDefaultRadiosExample">
<label class="custom-control-label" for="defaultInline2">Clássico</label>
</div>
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" class="custom-control-input" id="defaultInline3" name="inlineDefaultRadiosExample">
<label class="custom-control-label" for="defaultInline3">Grátis</label>
</div>
</div>
</div>
My select appears aligned, but as soon as the spokes appear, the template is broken.
It looks like this:
How can I leave the radii on the side of the select aligned?