Skip to content

Commit

Permalink
Override table width when set in textcontent
Browse files Browse the repository at this point in the history
  • Loading branch information
minottic committed Apr 18, 2024
1 parent dc07b3a commit b405013
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions sci-log-db/src/services/pdf.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,27 +103,33 @@ h1 {

@page landscape {
size: A4 landscape;
margin-right: -50px;
margin-left: -50px;
margin-right: -40px;
margin-left: -40px;
margin-top: 0;
margin-bottom: 0;
}

table {
min-width: 180mm;
}

.table-landscape,
table,
th,
td {
table-layout: fixed;
font-size: 10pt;
width: 100%;
border-spacing: 0;
border-collapse: collapse;
border: 1px solid black;
word-wrap: break-word;
width: auto;
}

.table-landscape {
page: landscape;
min-width: 270mm;
width: auto;
}

.table-with-space::after {
Expand Down

0 comments on commit b405013

Please sign in to comment.