writing-mode: vertical-rl doesn't work when using window.print() in react.js

Viewed 13

I am using React to print method to print some tables in pdf, and I have in my header of the table some cells that must be vertically, but unfortunately, when I export it, it doesn't rotate. This is my CSS:

    .verticalTableHeader {
  min-width: 120px;
  text-align: center;
  max-height: 100px;
  border: 1px solid rgb(0, 0, 0);
  word-wrap: break-word;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
0 Answers
Related