- π¨π·Costa Rica lmiranda08
I have the same issue in Drupal 10.
I want to create the pdf with a view_mode created with Layout Builder, but only show the fields without the format.
And the PDF created is like this:
- πΊπΈUnited States jlsegul
I also have the same issue in Drupal 10.
I am trying to create the pdf with a view_mode created with Layout Builder, but only show the fields without the format. Are there any available pdf libraries that use flex?
- π¨π¦Canada djdemonNet
So, to easily solve it possible with CSS:
.divTable { display: table; width: 100%; } .divTableBody { display: table-row-group; } .divTableRow { display: table-row; } .divTableCell, .divTableHead { display: table-cell; }
<div class="divTable"> <div class="divTableBody"> <div class="divTableRow"> <div class="divTableCell">Asistentes</div> <div class="divTableCell">Cosistentes</div> </div> <div class="divTableRow"> <div class="divTableCell">1</div> <div class="divTableCell">2</div> <div class="divTableCell">3</div> </div> </div> </div>