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
|
Category
|
||||||
</th>
|
</th>
|
||||||
<th>Description</th>
|
<th>Description</th>
|
||||||
<th class="minimized-column text-end">
|
<th class="minimized-amount text-end">
|
||||||
Amount
|
Amount
|
||||||
</th>
|
</th>
|
||||||
<th class="minimized-column">
|
<th class="minimized-column">
|
||||||
|
@ -160,7 +160,7 @@
|
||||||
{{ accountIdToName[tx.category] }}
|
{{ accountIdToName[tx.category] }}
|
||||||
</td>
|
</td>
|
||||||
<td>{{ tx.description }}</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) }} €
|
{{ formatNumber(tx.amount) }} €
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
|
@ -12,4 +12,10 @@ $fa-font-path: "../node_modules/@fortawesome/fontawesome-free/webfonts";
|
||||||
.minimized-column {
|
.minimized-column {
|
||||||
width: 0.1%;
|
width: 0.1%;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.minimized-amount {
|
||||||
|
min-width: 150px;
|
||||||
|
width: 0.1%;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
Loading…
Reference in a new issue