Skip to content

Commit

Permalink
Remove duplicate text in tables.md
Browse files Browse the repository at this point in the history
  • Loading branch information
noplanman authored and finwe committed Dec 19, 2021
1 parent 2f3d9bc commit 474760f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tables/tables.md
Expand Up @@ -52,10 +52,6 @@ A value of 1 will prevent any (unnecessary) resizing.

# page-break-inside:avoid

A shrunk table may not be what you want. You can prevent this resizing either by setting the maximum shrink-factor for
a particular table e.g. `<table autosize="1">` or by setting the variable for the whole document
i.e. `$mpdf->shrink_tables_to_fit = 1;`

If a table has the property `page-break-inside:avoid` and will not fit on the page, mPDF tries to shrink it to fit -
up to a maximum "shrink-factor" set by the variable `$mpdf->shrink_tables_to_fit` - default is `1.4` (i.e. about 70%
original size). If this still won't fit, it moves it to the next page.
Expand Down

0 comments on commit 474760f

Please sign in to comment.