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 e211550569 - Show all commits

View file

@ -226,13 +226,14 @@ export default function ProfilePage() {
<form onSubmit={onSaveBilling} style={{ display: 'grid', gap: 14 }}>
<label className="amenity-option" style={{ maxWidth: 520, alignItems: 'center' }}>
<div className="amenity-option-meta" style={{ fontWeight: 600 }}>
<span aria-hidden className="amenity-emoji">💸</span>
<span className="amenity-name">{t('billingEnableLabel')}</span>
</div>
<input
type="checkbox"
checked={billingEnabled}
onChange={(e) => setBillingEnabled(e.target.checked)}
style={{ width: 18, height: 18 }}
style={{ width: 22, height: 22 }}
/>
</label>
{billingEnabled ? (
@ -248,13 +249,14 @@ export default function ProfilePage() {
</label>
<label className="amenity-option" style={{ maxWidth: 520, alignItems: 'center' }}>
<div className="amenity-option-meta" style={{ fontWeight: 600 }}>
<span aria-hidden className="amenity-emoji">🧾</span>
<span className="amenity-name">{t('billingIncludeVat')}</span>
</div>
<input
type="checkbox"
checked={billingIncludeVatLine}
onChange={(e) => setBillingIncludeVatLine(e.target.checked)}
style={{ width: 18, height: 18 }}
style={{ width: 22, height: 22 }}
/>
</label>
</div>