Skip to content

Creating a pdf, all the content is not large enough to the width of the page. #68

@nunodotferreira

Description

@nunodotferreira
  • Laravel CRM Version: 1.2.2
  • PHP Version: 8.3.14

Description:

I found that when on creating a pdf, all the content is not large enough to the width of the page.
When you create a pdf with PHP using framework classes don't work, i've tried, and i know what is the problem.
This happen's in quotes, orders, invoices...

<table class="table table-sm table-items"> - creation of pdf don't care about the class, all the struture of pdf must have explicit width or explicit styles.

<table class="table table-sm table-items" width="100%"> like this, the table will stay larger to fill the width of the page

this is a sample from pdf.blade.php

<table class="table table-bordered table-sm table-items" width="100%"> <thead style="border: 1px solid black;">

works ok.

Steps To Reproduce:

Just download a document from Quotes, for example!

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions