Skip to content

Commit

Permalink
fix: Json Object mode with space elements
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to committed Jan 28, 2025
1 parent d4f44c4 commit adb9a38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Fields/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ public function object(): static
{
$this->objectMode = true;

return $this;
return $this->customAttributes([
'class' => 'space-elements'
]);
}

public function isObjectMode(): bool
Expand Down

0 comments on commit adb9a38

Please sign in to comment.