Skip to content

Commit

Permalink
Merge pull request #47 from aydin41k/formatting
Browse files Browse the repository at this point in the history
#45 Added cmb-row class to rows
  • Loading branch information
pablo-sg-pacheco authored Oct 17, 2019
2 parents 08811b5 + e876496 commit ad2b616
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Grid/Row.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ protected function openRow( \CMB2_Field $field ) {

if ( $field->args['type'] === 'group' ) {
\Cmb2Grid\Cmb2\Utils::initializeFieldArg( $field, 'before_group' );
$field->args['before_group'] .= '<div class="row cmb2GridRow">';
$field->args['before_group'] .= '<div class="cmb-row row cmb2GridRow">';
} else {
\Cmb2Grid\Cmb2\Utils::initializeFieldArg( $field, 'before_row' );
$field->args['before_row'] .= '<div class="row cmb2GridRow">';
$field->args['before_row'] .= '<div class="cmb-row row cmb2GridRow">';
}
}

Expand Down

0 comments on commit ad2b616

Please sign in to comment.