This property specifies the page-breaking behavior that should occur inside an element’s rendering box. Page breaks are not allowed in absolutely positioned elements.

p { page-break-inside: auto }

Test text in the paragraph

Possible Values
Value Description
inherit Explicitly sets the value of this property to that of the parent.
auto Insert page breaks inside the element box as necessary.
avoid Avoid inserting page breaks inside the current element box if possible.