Skip to content

Commit 674ed22

Browse files
authored
Merge pull request thampe#8 from josefsabl/patch-1
Containers are not centered,
2 parents 257396b + d3aa32b commit 674ed22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Component/ContainerFactory.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public function parse(HtmlNode $element, Inky $inkyInstance)
4646
{
4747
$table = $this->table($element->getAttributes());
4848
$this->addCssClass('container', $table);
49+
$table->setAttribute('align', 'center');
4950

5051
$tbody = $this->tbody();
5152
$tr = $this->tr();
@@ -59,4 +60,4 @@ public function parse(HtmlNode $element, Inky $inkyInstance)
5960
}
6061

6162

62-
}
63+
}

0 commit comments

Comments
 (0)