Widen label to 2.05cm x 21.76cm matching Word doc - app/services/pdf_renderer.py
Browse files
app/services/pdf_renderer.py
CHANGED
|
@@ -214,8 +214,8 @@ async def _build_overlay_pdf(
|
|
| 214 |
)
|
| 215 |
if label_src:
|
| 216 |
parts.append(
|
| 217 |
-
f'<div style="position:fixed;top:3.14cm;right:0;width:
|
| 218 |
-
f'height:
|
| 219 |
f'<img src="{label_src}" style="display:block;width:100%;'
|
| 220 |
f'height:100%;object-fit:fill;" /></div>'
|
| 221 |
)
|
|
|
|
| 214 |
)
|
| 215 |
if label_src:
|
| 216 |
parts.append(
|
| 217 |
+
f'<div style="position:fixed;top:3.14cm;right:0;width:2.05cm;'
|
| 218 |
+
f'height:21.76cm;z-index:2;overflow:hidden;">'
|
| 219 |
f'<img src="{label_src}" style="display:block;width:100%;'
|
| 220 |
f'height:100%;object-fit:fill;" /></div>'
|
| 221 |
)
|