From 522ca946cf62873150456044a9627d2f5645e7d0 Mon Sep 17 00:00:00 2001 From: Lauryn Menard Date: Wed, 27 Nov 2024 17:00:39 +0100 Subject: [PATCH] templates: Use h2 elements instead of label elements on billing page. The majority of the label elements on the billing page are not associated with a form element and function more as section headers. Also removes the padding/margin 25px rules for these so that the rendered page is less fragile to cases where content could overlap, such as when there was no text before the next expected charge h1 element. --- templates/corporate/billing/billing.html | 48 ++++++++++++------------ web/styles/portico/portico_signin.css | 19 ++++++++++ 2 files changed, 43 insertions(+), 24 deletions(-) diff --git a/templates/corporate/billing/billing.html b/templates/corporate/billing/billing.html index 34760322f2..9ff4da4310 100644 --- a/templates/corporate/billing/billing.html +++ b/templates/corporate/billing/billing.html @@ -42,8 +42,8 @@
- -
+

Your plan

+ {% else %} - @@ -109,7 +109,7 @@ {% if complimentary_access_plan or fixed_price_plan %} {% elif automanage_licenses %}
-

Number of licenses {% if is_self_hosted_billing %} @@ -121,8 +121,8 @@ {% endif %} - -
+

+
{{ licenses }}
Licenses are managed @@ -135,7 +135,7 @@ {% else %} {% if not (free_trial or downgrade_at_end_of_free_trial) %}
-