Displaying scrollbar while viewing print format in pdf

while taking the PDF of a custom print format of any doc type (currently we experienced this issue in Quotation , Purchase order…) getting a horizontal scroll bar below the data of the field type text editor.

This issue is coming if the content has some text formatting like Bullets, underline,Bold … in the text editor field

Can anyone advise how to fix it

You can add this to print format css.

.ql-editor {
    overflow: hidden !important;