Skip to content

vertical align of col-form-label in grid form context with custom-control ?[V4B2] #24523

Closed
@jipexu

Description

Hi
before i used this html .form-control-label instead of the new .col-form-label and the vertical align was ok in this case ... but now how to correct this ?

for this structure the vertical align is not nice ...

<div class="form-group row">
      <label class="col-form-label col-sm-4" for="xtiny_mce">Activer l'éditeur Tinymce</label>
      <div class="col-sm-8">
         <label class="custom-control custom-radio">
            <input type="radio" class="custom-control-input" name="xtiny_mce" value="true" checked="checked">
            <span class="custom-control-indicator"></span>
            <span class="custom-control-description">Oui</span>
         </label>
         <label class="custom-control custom-radio">
            <input type="radio" class="custom-control-input" name="xtiny_mce" value="false">
            <span class="custom-control-indicator"></span>
            <span class="custom-control-description">Non</span>
         </label>
      </div>
   </div>

thanks

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions