Skip to content

Commit

Permalink
Merge pull request #5678 from Laravel-Backpack/fix-default-bottom-margin
Browse files Browse the repository at this point in the history
Fix default bottom margin
  • Loading branch information
pxpm authored Oct 4, 2024
2 parents b58f971 + 0da20e5 commit 3e3b279
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/Library/CrudPanel/CrudField.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public function makeLast()
*/
public function size($numberOfColumns)
{
$this->attributes['wrapper']['class'] = 'form-group col-md-'.$numberOfColumns;
$this->attributes['wrapper']['class'] = 'form-group col-md-'.$numberOfColumns.' mb-3';

return $this->save();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/CrudPanel/CrudPanelFieldsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ public function testItCanAddAFluentField()
],
'store_in' => 'some',
'wrapper' => [
'class' => 'form-group col-md-6',
'class' => 'form-group col-md-6 mb-3',
],
'events' => [
'created' => function () {
Expand Down

0 comments on commit 3e3b279

Please sign in to comment.