From 8a4d6cf76c9556bd63864dee27745145d7d27736 Mon Sep 17 00:00:00 2001 From: "Owen Corrigan (BJSS, VTM)" <122352145+owen-corrigan-bjss@users.noreply.github.com> Date: Tue, 2 May 2023 16:36:39 +0100 Subject: [PATCH] fix(cb2-8170): plates - notes page alignment when printed back-to-back (#85) * fix(cb2-7876): reverts to older version of form plus some extra width (#80) * Fix/cb2 7876 (#81) * fix(cb2-7876): reverts to older version of form plus some extra width * fix(cb2-7876): 5 more pixels added * Fix/cb2 7876 (#82) * fix(cb2-7876): reverts to older version of form plus some extra width * fix(cb2-7876): 5 more pixels added * fix(cb2-7876): further 5px added * Fix/cb2 7876 (#83) * fix(cb2-7876): reverts to older version of form plus some extra width * fix(cb2-7876): 5 more pixels added * fix(cb2-7876): further 5px added * fix(cb2-7876): reduces width of second page * Fix/cb2 7876 (#84) * fix(cb2-7876): reverts to older version of form plus some extra width * fix(cb2-7876): 5 more pixels added * fix(cb2-7876): further 5px added * fix(cb2-7876): reduces width of second page * fix(cb2-7876): fixes alignment on function box --- .../resources/assets/stylesheets/plates.hbs | 22 +++++++++---------- .../views/CommercialVehicles/VTG6_VTG7.hbs | 10 ++++----- .../CommercialVehicles/VTG6_VTG7_TRL.hbs | 10 ++++----- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/main/resources/assets/stylesheets/plates.hbs b/src/main/resources/assets/stylesheets/plates.hbs index 439e5468..a025a67b 100644 --- a/src/main/resources/assets/stylesheets/plates.hbs +++ b/src/main/resources/assets/stylesheets/plates.hbs @@ -260,7 +260,7 @@ font-size: 10px; } .function_code_data { -margin-left:50px; +margin-left:20px; font-weight: bold; font-size: 12px; } @@ -611,7 +611,7 @@ margin: auto; } .secondPage { -width: 490px; +width: 535px; height: 775px; margin-right: 10px; margin-top: 10px; @@ -749,8 +749,8 @@ padding-left: 20px; width: 80%; } -.vtg7_secondPage { -width: 525px; +.vtg6_secondPage { +width: 490px; height: 775px; margin-left: 10px; margin-right: 10px; @@ -758,31 +758,31 @@ margin-top: 10px; font-size: 10px; } -.vtg7_secondPage ol { +.vtg6_secondPage ol { padding-left: 20px; padding-bottom: 10px; font-size: 15px; } -.vtg7_secondPage li { +.vtg6_secondPage li { padding-left: 10px; padding-bottom: 5px; } -.vtg7_display { +.vtg6_display { text-align: center; font-size: 15px; font-weight: bold; padding-bottom: 20px; } -.vtg7_loss { +.vtg6_loss { font-size: 15px; font-weight: bold; text-align: center; } -.vtg7_securely_affixed { +.vtg6_securely_affixed { padding-bottom: 5px; } @@ -790,12 +790,12 @@ padding-bottom: 5px; list-style-type: lower-alpha; } -.vtg7_dvsa { +.vtg6_dvsa { font-size: 15px; padding-left: 8px; } -.vtg7_dvsa p { +.vtg6_dvsa p { padding-bottom: 10px; } diff --git a/src/main/resources/views/CommercialVehicles/VTG6_VTG7.hbs b/src/main/resources/views/CommercialVehicles/VTG6_VTG7.hbs index 15867acd..731bdb10 100644 --- a/src/main/resources/views/CommercialVehicles/VTG6_VTG7.hbs +++ b/src/main/resources/views/CommercialVehicles/VTG6_VTG7.hbs @@ -1273,13 +1273,13 @@
-
-

+

+

DISPLAY OF MINISTRY PLATE

  1. -

    +

    This plate must be securely affixed:-

      @@ -1294,7 +1294,7 @@
-

+

LOSS

    @@ -1302,7 +1302,7 @@ If this plate is lost or defaced, an application for a replacement may be made to:
-
+

Driver and Vehicle Standards Agency (DVSA)

diff --git a/src/main/resources/views/CommercialVehicles/VTG6_VTG7_TRL.hbs b/src/main/resources/views/CommercialVehicles/VTG6_VTG7_TRL.hbs index 15867acd..731bdb10 100644 --- a/src/main/resources/views/CommercialVehicles/VTG6_VTG7_TRL.hbs +++ b/src/main/resources/views/CommercialVehicles/VTG6_VTG7_TRL.hbs @@ -1273,13 +1273,13 @@
-
-

+

+

DISPLAY OF MINISTRY PLATE

  1. -

    +

    This plate must be securely affixed:-

      @@ -1294,7 +1294,7 @@
-

+

LOSS

    @@ -1302,7 +1302,7 @@ If this plate is lost or defaced, an application for a replacement may be made to:
-
+

Driver and Vehicle Standards Agency (DVSA)