Skip to content

Commit 8f90f01

Browse files
layout (#402)
1 parent 2f00ed0 commit 8f90f01

2 files changed

Lines changed: 13 additions & 15 deletions

File tree

src/Service.Host/views/Footer.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
<html>
1+
<html>
22
<head>
33
<style>
44
body {
55
font-size: 10px;
66
margin: auto 20px;
7+
margin-left: 90px;
78
}
89

910
.address {
@@ -20,4 +21,4 @@
2021
</span>
2122
</p>
2223
</body>
23-
</html>
24+
</html>

src/Service.Host/views/PackingList.cshtml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
@@media print {
66
@@page {
77
size: A4 portrait;
8-
margin: 25px;
98
margin-bottom: 60px;
109
}
1110
@@ -25,12 +24,14 @@
2524
}
2625
2726
thead {
27+
font-size: 1em;
2828
display: block;
2929
margin-left: 50px;
3030
margin-right: 600px;
3131
}
3232
3333
tbody {
34+
font-size: 0.9em;
3435
display: block;
3536
margin-left: 50px;
3637
margin-right: 50px;
@@ -51,7 +52,7 @@
5152
5253
5354
tbody {
54-
font-size: 1em;
55+
font-size: 0.9em;
5556
font-family: Arial, sans-serif;
5657
}
5758
@@ -103,10 +104,6 @@
103104
text-align: right;
104105
}
105106
106-
.text-align-left {
107-
text-align: left;
108-
}
109-
110107
.header-grid-container {
111108
row-gap: 10px;
112109
column-gap: 30px;
@@ -130,7 +127,7 @@
130127
margin-bottom: 40px;
131128
display: grid;
132129
grid-template-columns: auto auto auto auto auto auto;
133-
row-gap: 10px;
130+
row-gap: 5px;
134131
}
135132
136133
.footer-grid-container {
@@ -193,17 +190,17 @@
193190
<tr>
194191
<td>
195192
<div class="line-grid-container">
196-
<div><b>Box</b></div>
197-
<div><b>To</b></div>
198-
<div><b>Count</b></div>
193+
<div class="text-align-right"><b>Box</b></div>
194+
<div class="text-align-right"><b>To</b></div>
195+
<div class="text-align-right"><b>Count</b></div>
199196
<div><b>Description</b></div>
200197
<div><b>Weight</b></div>
201198
<div><b>Dimensions</b></div>
202199
@foreach (var consignmentItem in Model.Consignment.GetPrintableLines())
203200
{
204-
<div>@consignmentItem.LowValue</div>
205-
<div>@consignmentItem.HighValue</div>
206-
<div>@consignmentItem.Count</div>
201+
<div class="text-align-right">@consignmentItem.LowValue</div>
202+
<div class="text-align-right">@consignmentItem.HighValue</div>
203+
<div class="text-align-right">@consignmentItem.Count</div>
207204
<div>@consignmentItem.ItemDescription</div>
208205
<div>@consignmentItem.Weight Kgs</div>
209206
<div>@consignmentItem.Dims</div>

0 commit comments

Comments
 (0)