Skip to content

Commit

Permalink
Allow float values for wrapper width
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkla committed Sep 26, 2023
1 parent 344257b commit f6caed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fields/Settings/Wrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function wrapper(array $wrapper): static
return $this;
}

public function column(int $width): static
public function column(int|float $width): static
{
$this->settings['wrapper']['width'] = $width;

Expand Down

0 comments on commit f6caed9

Please sign in to comment.