This commit is contained in:
parent
57ac76386b
commit
168313d882
@ -2,9 +2,9 @@
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
/* Setting up the page size - 4x6 inches */
|
||||
/* Setting up the page size for landscape orientation - 6x4 inches */
|
||||
@page {
|
||||
size: 4in 6in;
|
||||
size: 6in 4in; /* Landscape orientation */
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@ -12,8 +12,8 @@
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 4in;
|
||||
height: 6in;
|
||||
width: 6in; /* Adjusted for landscape */
|
||||
height: 4in; /* Adjusted for landscape */
|
||||
position: relative;
|
||||
font-family: Arial, sans-serif;
|
||||
}
|
||||
|
@ -32,7 +32,7 @@ class TCGPlayerAPIService:
|
||||
self.template_dir = "/app/app/assets/templates"
|
||||
self.env = Environment(loader=FileSystemLoader(self.template_dir))
|
||||
self.address_label_template = self.env.get_template("address_label.html")
|
||||
self.return_address_png = "/app/app/assets/images/ccrcardsaddress.png"
|
||||
self.return_address_png = "file:///app/app/assets/images/ccrcardsaddress.png"
|
||||
|
||||
def get_cookies(self) -> dict:
|
||||
if self.is_in_docker:
|
||||
|
Loading…
x
Reference in New Issue
Block a user