diff --git a/pyproject.toml b/pyproject.toml index 8f281dd..a091367 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,6 +7,9 @@ authors = [{ name = "Alan Bits", email = "alan@lnbits.com" }] urls = { Homepage = "https://lnbits.com", Repository = "https://github.com/lnbits/bitcoinswitch_extension" } dependencies = [ "lnbits>1" ] +[tool.poetry] +package-mode = false + [tool.uv] dev-dependencies = [ "black", diff --git a/templates/withdraw/print_qr.html b/templates/withdraw/print_qr.html index 1ccc1e9..3b73b13 100644 --- a/templates/withdraw/print_qr.html +++ b/templates/withdraw/print_qr.html @@ -4,23 +4,21 @@
{% for page in link %} - - {% for threes in page %} - - {% for one in threes %} - +
+ {% for row in page %} +
+ {% for one in row %} +
+ +
{% endfor %} -
+ {% endfor %} -
-
- -
-
+
{% endfor %} diff --git a/templates/withdraw/print_qr_custom.html b/templates/withdraw/print_qr_custom.html index 8e34097..c144a9f 100644 --- a/templates/withdraw/print_qr_custom.html +++ b/templates/withdraw/print_qr_custom.html @@ -11,7 +11,8 @@
@@ -61,9 +62,10 @@ .wrapper .lnurlw { display: block; position: absolute; - top: calc(7.3mm + 1rem); - left: calc(7.5mm + 1rem); + top: calc(3mm + 1rem); + left: calc(6mm + 1rem); transform: rotate(45deg); + width: 27mm; } @media print { @@ -83,8 +85,8 @@ .wrapper .lnurlw { display: block; position: absolute; - top: 7.3mm; - left: 7.5mm; + top: 3mm; + left: 6mm; transform: rotate(45deg); } }