- edited description
Label class in vertical forms (col-lg-2) is too small
Issue #10
resolved
When the form is inside a panel that has a medium width (eg col-md-5) the label if it has more than 1 words or a required class it breaks to two or more lines
I think it's better to use full width (since the layout is vertical and no component is next to the label)
if($layout === BSHtml::FORM_LAYOUT_VERTICAL){
BSHtml::addCssClass('md-12',$labelOptions);
return $labelOptions;
}
Comments (4)
-
reporter -
repo owner thx will check tonight
-
repo owner - changed status to resolved
-
repo owner $options['labelOptions'] = $this->setLabelOptionsByLayout($this->layout,$labelOptions);
- Log in to comment