Skip to content

Commit 4234fae

Browse files
committed
Update margin for printing
1 parent 9ba7d98 commit 4234fae

25 files changed

+6
-4
lines changed
1.37 KB
Binary file not shown.

pdf/ly_user_guide.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,14 +254,16 @@ def generate_pdf_with_cover_and_toc(base_url, pages_with_titles):
254254
footer_template=f'''
255255
<div style="
256256
font-size: 12px;
257-
padding-left: 20px;
258-
padding-right: 20px;
259-
padding-bottom: 5px;
257+
padding: 5px 20px; /* Reduced padding for footer */
260258
width: 100%;
261259
display: flex;
262260
justify-content: space-between;
263261
align-items: center;
264-
font-style: italic;">
262+
font-style: italic;
263+
box-sizing: border-box; /* Ensure proper sizing */
264+
border-top: 0.5px solid #7393B3; /* Optional separator line */
265+
background-color: #f9f9f9; /* Optional background for clarity */
266+
">
265267
<div style="text-align: right;">
266268
© Nomana-IT | Edited: {edited_date}
267269
</div>
23 Bytes
Binary file not shown.
27 Bytes
Binary file not shown.
24 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
26 Bytes
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)