Skip to content

Commit 72668ce

Browse files
Ignore after and first attributes when values are default
1 parent 7d977c2 commit 72668ce

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Atomizer/Renderer.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,12 @@ private function columnOptions(AbstractColumn $column): array
256256
if ($attribute === 'size' && $value === 0) {
257257
continue;
258258
}
259+
if ($attribute === 'after' && $value === '') {
260+
continue;
261+
}
262+
if ($attribute === 'first' && $value === false) {
263+
continue;
264+
}
259265
$options[$attribute] = $value;
260266
}
261267

0 commit comments

Comments
 (0)