Skip to content

Commit dd5dc17

Browse files
author
Joshua Stübner
committed
style: small font in invoice footer
1 parent 0d30398 commit dd5dc17

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

apps/invoice/src/lib/invoice/components/InvoiceDisplay.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,12 @@ Rechnung Nr. ${invoice.invoiceNumber}
124124
<div class="stack -nogap">
125125
<p>{currentInvoice.issuer.name}</p>
126126
{#each currentInvoice.issuer.address as address}
127-
<p>{address}</p>
127+
<p class="-small">{address}</p>
128128
{/each}
129129
</div>
130130
<div class="nc-stack -nogap">
131-
<p>{currentInvoice.issuer.phone}</p>
132-
<p>{currentInvoice.issuer.email}</p>
131+
<p class="-small">{currentInvoice.issuer.phone}</p>
132+
<p class="-small">{currentInvoice.issuer.email}</p>
133133
</div>
134134
</div>
135135
<div class="nc-stack -nearest | printBankDetails">

apps/invoice/src/lib/invoice/styles/invoiceDisplay.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
line-height: var(--line-height-base);
3030
}
3131

32+
& .-small {
33+
font-size: var(--font-size-smallest);
34+
}
35+
3236
& .-big {
3337
font-size: var(--font-size-base);
3438
}

0 commit comments

Comments
 (0)