Skip to content

Commit

Permalink
fix(cb2-8170): plates - notes page alignment when printed back-to-back (
Browse files Browse the repository at this point in the history
#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
  • Loading branch information
owen-corrigan-bjss authored and andrewf-bjss committed May 3, 2023
1 parent df27bac commit 8a4d6cf
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
22 changes: 11 additions & 11 deletions src/main/resources/assets/stylesheets/plates.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ font-size: 10px;
}

.function_code_data {
margin-left:50px;
margin-left:20px;
font-weight: bold;
font-size: 12px;
}
Expand Down Expand Up @@ -611,7 +611,7 @@ margin: auto;
}

.secondPage {
width: 490px;
width: 535px;
height: 775px;
margin-right: 10px;
margin-top: 10px;
Expand Down Expand Up @@ -749,53 +749,53 @@ padding-left: 20px;
width: 80%;
}

.vtg7_secondPage {
width: 525px;
.vtg6_secondPage {
width: 490px;
height: 775px;
margin-left: 10px;
margin-right: 10px;
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;
}

.securely_affixed_options {
list-style-type: lower-alpha;
}

.vtg7_dvsa {
.vtg6_dvsa {
font-size: 15px;
padding-left: 8px;
}

.vtg7_dvsa p {
.vtg6_dvsa p {
padding-bottom: 10px;
}

Expand Down
10 changes: 5 additions & 5 deletions src/main/resources/views/CommercialVehicles/VTG6_VTG7.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -1273,13 +1273,13 @@
<div class="separatePage">
<table>
<td class='table-half'>
<div class="vtg7_secondPage">
<p class="vtg7_display">
<div class="vtg6_secondPage">
<p class="vtg6_display">
DISPLAY OF MINISTRY PLATE
</p>
<ol>
<li>
<p class="vtg7_securely_affixed">
<p class="vtg6_securely_affixed">
This plate must be securely affixed:-
</p>
<ol class="securely_affixed_options">
Expand All @@ -1294,15 +1294,15 @@
</ol>
</li>
</ol>
<p class="vtg7_loss">
<p class="vtg6_loss">
LOSS
</p>
<ol start="2">
<li>
If this plate is lost or defaced, an application for a replacement may be made to:
</li>
</ol>
<div class="vtg7_dvsa">
<div class="vtg6_dvsa">
<p>
Driver and Vehicle Standards Agency (DVSA)
</p>
Expand Down
10 changes: 5 additions & 5 deletions src/main/resources/views/CommercialVehicles/VTG6_VTG7_TRL.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -1273,13 +1273,13 @@
<div class="separatePage">
<table>
<td class='table-half'>
<div class="vtg7_secondPage">
<p class="vtg7_display">
<div class="vtg6_secondPage">
<p class="vtg6_display">
DISPLAY OF MINISTRY PLATE
</p>
<ol>
<li>
<p class="vtg7_securely_affixed">
<p class="vtg6_securely_affixed">
This plate must be securely affixed:-
</p>
<ol class="securely_affixed_options">
Expand All @@ -1294,15 +1294,15 @@
</ol>
</li>
</ol>
<p class="vtg7_loss">
<p class="vtg6_loss">
LOSS
</p>
<ol start="2">
<li>
If this plate is lost or defaced, an application for a replacement may be made to:
</li>
</ol>
<div class="vtg7_dvsa">
<div class="vtg6_dvsa">
<p>
Driver and Vehicle Standards Agency (DVSA)
</p>
Expand Down

0 comments on commit 8a4d6cf

Please sign in to comment.