fix/billing-checkbox-alignment #17
1 changed files with 4 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue