Tighten billing checkbox alignment
Some checks are pending
CI / checks (push) Waiting to run

This commit is contained in:
Tero Halla-aho 2025-12-21 11:59:12 +02:00
parent 2b99defa5a
commit 8b2546faaf

View file

@ -217,7 +217,7 @@ export default function ProfilePage() {
{billingMessage ? <p style={{ color: 'green' }}>{billingMessage}</p> : null}
{billingError ? <p style={{ color: 'red' }}>{billingError}</p> : null}
<form onSubmit={onSaveBilling} style={{ display: 'grid', gap: 14, marginTop: 8 }}>
<label style={{ display: 'flex', gap: 8, alignItems: 'center' }}>
<label style={{ display: 'inline-flex', alignItems: 'center', columnGap: 6 }}>
<input type="checkbox" checked={billingEnabled} onChange={(e) => setBillingEnabled(e.target.checked)} />
<span>{t('billingEnableLabel')}</span>
</label>
@ -232,7 +232,7 @@ export default function ProfilePage() {
{t('billingIbanLabel')}
<input value={billingIban} onChange={(e) => setBillingIban(e.target.value)} placeholder="FI00 1234 5600 0007 85" />
</label>
<label style={{ display: 'flex', gap: 8, alignItems: 'center' }}>
<label style={{ display: 'inline-flex', alignItems: 'center', columnGap: 6 }}>
<input
type="checkbox"
checked={billingIncludeVatLine}