Wkhtmltopdf. Word-break break-all

31 Views Asked by At

I have problems with converting to PDF. I get the impression that word-break break-all does not work, I seem to have climbed a branch, but nothing helped me. Everything is fine in the browser, but the PDF output looks like this. Thanks for the help.

HERE IS A screenshot:

HERE IS A screenshot

<div class="ticket-info-defense-name">
2024-03-09 QWERTYUIO 5B5B4688 BC5B9C51 2024-03-09 QWERTYUIO 5B5B4688 BC5B9C51 2024-03-09 QWERTYUIO 5B5B4688 BC5B9C51 2024-03-09 QWERTYUIO 5B5B4688 BC5B9C51 2024-03-09 QWERTYUIO 5B5B4688 BC5B9C51 2024-03-09 QWERTYUIO 5B5B4688 BC5B9C51 2024-03-09 QWERTYUIO 5B5B4688 BC5B9C51 2024-03-09 QWERTYUIO 5B5B4688 BC5B9C51 2024-03-09 QWERTYUIO 5B5B4688 BC5B9C51
</div>
.ticket-info-defense-name {
   text-transform: uppercase;
   display: inline-block;
   width: 100pt;
   max-width: 100pt;
   font-size: 7pt;
   color: #a2a2a1;
   height: 41pt;
   overflow: hidden;
   text-align: justify;
   overflow-wrap: break-word;
   word-wrap: break-word;
   -ms-word-break: break-all;
   word-break: break-all;
   -ms-hyphens: auto;
   -moz-hyphens: auto;
   -webkit-hyphens: auto;
   hyphens: auto;
 }
0

There are 0 best solutions below