Fix: Amount column too small to enter number
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
def162cd84
commit
e66a730570
2 changed files with 8 additions and 2 deletions
|
@ -79,7 +79,7 @@
|
|||
Category
|
||||
</th>
|
||||
<th>Description</th>
|
||||
<th class="minimized-column text-end">
|
||||
<th class="minimized-amount text-end">
|
||||
Amount
|
||||
</th>
|
||||
<th class="minimized-column">
|
||||
|
@ -160,7 +160,7 @@
|
|||
{{ accountIdToName[tx.category] }}
|
||||
</td>
|
||||
<td>{{ tx.description }}</td>
|
||||
<td :class="{'minimized-column text-end': true, 'text-danger': tx.amount < 0}">
|
||||
<td :class="{'minimized-amount text-end': true, 'text-danger': tx.amount < 0}">
|
||||
{{ formatNumber(tx.amount) }} €
|
||||
</td>
|
||||
<td>
|
||||
|
|
|
@ -13,3 +13,9 @@ $fa-font-path: "../node_modules/@fortawesome/fontawesome-free/webfonts";
|
|||
width: 0.1%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.minimized-amount {
|
||||
min-width: 150px;
|
||||
width: 0.1%;
|
||||
white-space: nowrap;
|
||||
}
|
Loading…
Reference in a new issue