From 688abe7b758500e3ae0310c79ca6d035b88483a2 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Wed, 11 Dec 2024 12:51:30 -0500 Subject: [PATCH] better on mobile. modified: make_post_sell/static/css/common.css modified: make_post_sell/templates/sales.j2 modified: make_post_sell/templates/sales_details.j2 --- make_post_sell/static/css/common.css | 3 ++- make_post_sell/templates/sales.j2 | 2 -- make_post_sell/templates/sales_details.j2 | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/make_post_sell/static/css/common.css b/make_post_sell/static/css/common.css index 56e5f13..ff2a217 100644 --- a/make_post_sell/static/css/common.css +++ b/make_post_sell/static/css/common.css @@ -523,7 +523,8 @@ section.checkout-right { } .StripeElement { - width: 100%; + width: 90%; + margin: auto; border-color: #bbbbbb; border-style: solid; border-width: 1px; diff --git a/make_post_sell/templates/sales.j2 b/make_post_sell/templates/sales.j2 index 6fdfcda..58ff300 100644 --- a/make_post_sell/templates/sales.j2 +++ b/make_post_sell/templates/sales.j2 @@ -6,7 +6,6 @@ - @@ -16,7 +15,6 @@ {% for invoice in invoices %} - diff --git a/make_post_sell/templates/sales_details.j2 b/make_post_sell/templates/sales_details.j2 index 5898b52..6cb03f5 100644 --- a/make_post_sell/templates/sales_details.j2 +++ b/make_post_sell/templates/sales_details.j2 @@ -1,7 +1,7 @@ {% extends "base.j2" %} {% block content %} -

Invoice: {{ invoice.id }}

+

Invoice Identifier
{{ invoice.id }}

Customer Name: {{ invoice.user.name }}

Date: {{ invoice.human_created_timestamp }}

Total: ${{ '%0.2f' % invoice.total }}

Invoice ID Customer Name Date Total
{{ invoice.id }} {{ invoice.user.name }} {{ invoice.human_created_timestamp }} ${{ '%0.2f' % invoice.total }}