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 {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
${isRtl ? "right" : "left"}: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
color: ${fontColor};
|
||||
font-size: ${Math.max(11, Math.round(fontSize * 0.95))}px;
|
||||
text-align: center;
|
||||
padding-top: 8px;
|
||||
}
|
||||
|
||||
.page-footer .recorded-by {
|
||||
font-weight: bold;
|
||||
.page-footer .pdf-recorded-by {
|
||||
text-align: center;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.page-footer .date-line {
|
||||
margin-top: 4px;
|
||||
text-align: left;
|
||||
direction: ltr;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user