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