Adjust PDF footer layout to position elements correctly
Update CSS in pdf-html-renderer.ts to ensure 'recorded by' text is centered and the date is aligned to the left within the PDF footer.
This commit is contained in:
@@ -461,20 +461,22 @@ tr {
|
|||||||
.page-footer {
|
.page-footer {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
${isRtl ? "right" : "left"}: 0;
|
left: 0;
|
||||||
|
right: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
color: ${fontColor};
|
color: ${fontColor};
|
||||||
font-size: ${Math.max(11, Math.round(fontSize * 0.95))}px;
|
font-size: ${Math.max(11, Math.round(fontSize * 0.95))}px;
|
||||||
text-align: center;
|
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-footer .recorded-by {
|
.page-footer .pdf-recorded-by {
|
||||||
font-weight: bold;
|
text-align: center;
|
||||||
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-footer .date-line {
|
.page-footer .date-line {
|
||||||
margin-top: 4px;
|
text-align: left;
|
||||||
|
direction: ltr;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user