improving layout

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-06-28 19:10:33 +02:00
parent aca0d41ef0
commit 20bc7a697e
+11 -5
View File
@@ -103,7 +103,8 @@
</script> </script>
<style> <style>
.amount{ text-align: right; whitespace: nowrap } .amount{ text-align: right }
.nowrap{ whitespace: nowrap }
</style> </style>
<svelte:head> <svelte:head>
@@ -155,11 +156,16 @@
</th> </th>
{/each} {/each}
<td class="amount"> <td class="amount">
{sums[-1].toFixed(2)}&nbsp;{account.currency} {t('external gains')}<br/> {sums[-1].toFixed(2)}&nbsp;{account.currency} <br/>
-{sums[0].toFixed(2)}&nbsp;{account.currency} {t('external expenses')}<br/> -{sums[0].toFixed(2)}&nbsp;{account.currency}<br/>
{(sums[-1]-sums[0]).toFixed(2)}&nbsp;{account.currency} {t('sum external')} {(sums[-1]-sums[0]).toFixed(2)}&nbsp;{account.currency}
</td> </td>
<td colspan="3"></td> <td class="nowrap">
{t('external gains')}<br/>
{t('external expenses')}<br/>
{t('sum external')}
</td>
<td colspan="2"></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>