fix printing stuff.

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD 2024-01-12 14:26:47 -07:00
parent 5b54b8113e
commit 0de6ab7547
2 changed files with 7 additions and 4 deletions

View File

@ -71,8 +71,8 @@
<th scope="col" class="col-1">Date</th>
<th scope="col" class="col-1">Odometer</th>
<th scope="col" class="col-3">Description</th>
<th scope="col" class="col-2">Cost</th>
<th scope="col" class="col-3">Notes</th>
<th scope="col" class="col-1">Cost</th>
<th scope="col" class="col-4">Notes</th>
</tr>
</thead>
<tbody>
@ -97,8 +97,8 @@
<td class="col-1">@reportData.Date.ToShortDateString()</td>
<td class="col-1">@(reportData.Odometer == default ? "---" : reportData.Odometer.ToString("N0"))</td>
<td class="col-3">@reportData.Description</td>
<td class="col-2">@((hideZero && reportData.Cost == default) ? "---" : reportData.Cost.ToString("C"))</td>
<td class="col-3 text-wrap">@CarCareTracker.Helper.StaticHelper.TruncateStrings(reportData.Notes, 100)</td>
<td class="col-1">@((hideZero && reportData.Cost == default) ? "---" : reportData.Cost.ToString("C"))</td>
<td class="col-4 text-wrap">@CarCareTracker.Helper.StaticHelper.TruncateStrings(reportData.Notes, 100)</td>
</tr>
}
</tbody>

View File

@ -75,6 +75,9 @@ html {
td.col-1 {
width: 10%;
}
td.col-4.text-wrap{
width: 30%;
}
th.col-1 {
width: 10%;