Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -156,7 +156,6 @@ def create_pdf_from_markdown_strings(markdown_strings):
|
|
156 |
<style>
|
157 |
.page {
|
158 |
font-size: 16pt; /* Adjust the font size as needed */
|
159 |
-
margin: 20mm; /* Set margins for top, right, bottom, and left */
|
160 |
}
|
161 |
</style>
|
162 |
</head>
|
@@ -180,7 +179,7 @@ def generate_pdf(html_string):
|
|
180 |
css = """
|
181 |
@page {
|
182 |
size: A4 landscape;
|
183 |
-
margin:
|
184 |
}
|
185 |
body {
|
186 |
font-family: sans-serif;
|
|
|
156 |
<style>
|
157 |
.page {
|
158 |
font-size: 16pt; /* Adjust the font size as needed */
|
|
|
159 |
}
|
160 |
</style>
|
161 |
</head>
|
|
|
179 |
css = """
|
180 |
@page {
|
181 |
size: A4 landscape;
|
182 |
+
margin: 20mm;
|
183 |
}
|
184 |
body {
|
185 |
font-family: sans-serif;
|