Skip to content

Commit

Permalink
Ignore size 0
Browse files Browse the repository at this point in the history
  • Loading branch information
msmakouz committed Jan 24, 2024
1 parent 2c998d9 commit 74c78d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Atomizer/Renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,9 @@ private function columnOptions(AbstractColumn $column): array
}

foreach ($column->getAttributes() as $attribute => $value) {
if ($attribute === 'size' && $value === 0) {
continue;
}
$options[$attribute] = $value;
}

Expand Down

0 comments on commit 74c78d6

Please sign in to comment.