mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 04:07:32 -05:00 
			
		
		
		
	page-break-inside avoid on footer elements
This commit is contained in:
		
							parent
							
								
									1dcc24d06b
								
							
						
					
					
						commit
						0f791fdb7f
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user