fix/billing-checkbox-alignment #17

Merged
thalla merged 11 commits from fix/billing-checkbox-alignment into master 2025-12-21 16:43:13 +02:00
Showing only changes of commit 8b2546faaf - Show all commits

View file

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