Skip to content

Commit e0301b8

Browse files
Jakub Jeřábekf3l1x
authored andcommitted
fix: button alignment in horizontal form
1 parent aad9937 commit e0301b8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Rendering/Bootstrap5HorizontalRenderer.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,6 @@ public function renderLabel(IControl $control): Html
117117
{
118118
$label = parent::renderLabel($control);
119119

120-
if ($control instanceof Controls\Button) {
121-
$label->addHtml($this->replacePlaceholders('<div class="col-%colsLabel%"></div>'));
122-
}
123-
124120
if ($control instanceof Controls\Checkbox || $control instanceof Controls\CheckboxList || $control instanceof Controls\RadioList) {
125121
return Html::el('div')
126122
->addClass($this->replacePlaceholders('col-form-label col-%colsLabel%'))

0 commit comments

Comments
 (0)