Update templates/relatorio.html
Browse files- templates/relatorio.html +14 -6
templates/relatorio.html
CHANGED
@@ -34,23 +34,22 @@
|
|
34 |
background-color: #fafafa;
|
35 |
}
|
36 |
table {
|
37 |
-
width:
|
38 |
-
margin-left: auto;
|
39 |
-
margin-right: auto;
|
40 |
border-collapse: collapse;
|
41 |
margin-top: 20px;
|
42 |
font-size: 0.95em;
|
43 |
-
page-break-inside: auto;
|
44 |
}
|
45 |
th, td {
|
46 |
border: 1px solid #ccc;
|
47 |
padding: 8px 12px;
|
48 |
-
text-align:
|
49 |
vertical-align: middle;
|
50 |
-
page-break-inside: avoid;
|
51 |
}
|
52 |
th {
|
53 |
background-color: #f0f0f0;
|
|
|
54 |
font-weight: bold;
|
55 |
}
|
56 |
.parametros {
|
@@ -76,6 +75,15 @@
|
|
76 |
margin-top: 30px;
|
77 |
page-break-inside: avoid;
|
78 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
</style>
|
80 |
</head>
|
81 |
<body>
|
|
|
34 |
background-color: #fafafa;
|
35 |
}
|
36 |
table {
|
37 |
+
width: 100%;
|
|
|
|
|
38 |
border-collapse: collapse;
|
39 |
margin-top: 20px;
|
40 |
font-size: 0.95em;
|
41 |
+
page-break-inside: auto; /* Permite quebra de p谩gina autom谩tica dentro da tabela */
|
42 |
}
|
43 |
th, td {
|
44 |
border: 1px solid #ccc;
|
45 |
padding: 8px 12px;
|
46 |
+
text-align: right;
|
47 |
vertical-align: middle;
|
48 |
+
page-break-inside: avoid; /* Evita quebra no meio da c茅lula */
|
49 |
}
|
50 |
th {
|
51 |
background-color: #f0f0f0;
|
52 |
+
text-align: center;
|
53 |
font-weight: bold;
|
54 |
}
|
55 |
.parametros {
|
|
|
75 |
margin-top: 30px;
|
76 |
page-break-inside: avoid;
|
77 |
}
|
78 |
+
|
79 |
+
/* Centraliza a tabela s贸 no browser */
|
80 |
+
@media screen {
|
81 |
+
table {
|
82 |
+
margin-left: auto !important;
|
83 |
+
margin-right: auto !important;
|
84 |
+
width: auto !important;
|
85 |
+
}
|
86 |
+
}
|
87 |
</style>
|
88 |
</head>
|
89 |
<body>
|