page-break-inside avoid on footer elements
This commit is contained in:
parent
1dcc24d06b
commit
0f791fdb7f
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ trait DesignHelpers
|
|||
|
||||
public function sharedFooterElements()
|
||||
{
|
||||
return ['element' => 'div', 'properties' => ['style' => 'display: flex; justify-content: space-between; margin-top: 1.5rem'], 'elements' => [
|
||||
return ['element' => 'div', 'properties' => ['style' => 'display: flex; justify-content: space-between; margin-top: 1.5rem; page-break-inside: avoid;'], 'elements' => [
|
||||
['element' => 'img', 'properties' => ['src' => '$contact.signature', 'style' => 'height: 5rem;']],
|
||||
['element' => 'img', 'properties' => ['src' => '$app_url/images/created-by-invoiceninja-new.png', 'style' => 'height: 5rem;', 'hidden' => $this->entity->user->account->isPaid() ? 'true' : 'false']],
|
||||
]];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue