Skip to content

Commit

Permalink
FormRow // add spacing to "disabled" selector.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrico committed Sep 25, 2023
1 parent a9df17e commit 513d4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/FormRow.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function render(ElementInterface $element): string
$rowAttributes['class'] .= ' form-row--has-errors';
}
if ($element->isDisabled()) {
$rowAttributes['class'] .= 'form-row--is-disabled';
$rowAttributes['class'] .= ' form-row--is-disabled';
}
if ($element->type() === 'hidden') {
$rowAttributes['class'] .= ' hidden';
Expand Down

0 comments on commit 513d4af

Please sign in to comment.