Skip to content

Commit

Permalink
refactor(open-invoice): use consent checkbox style to delivery address
Browse files Browse the repository at this point in the history
  • Loading branch information
longyulongyu committed Jan 31, 2024
1 parent 1de29c9 commit ace45a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
}
}

.adyen-checkout__open-invoice .adyen-checkout__fieldset--personalDetails {
padding-bottom: var(--adyen-checkout-spacer-040);
}

.adyen-checkout__open-invoice .adyen-checkout__fieldset--billingAddress {
padding-bottom: var(--adyen-checkout-spacer-040);
}
Expand All @@ -22,7 +26,3 @@
.adyen-checkout__open-invoice .adyen-checkout__field--consentCheckbox {
margin-top: 16px;
}

.adyen-checkout__input--separateDeliveryAddress + .adyen-checkout__checkbox__label {
margin-top: var(--adyen-checkout-spacer-070);
}
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export default function OpenInvoice(props: OpenInvoiceProps) {

{showSeparateDeliveryAddressCheckbox && (
<Field
classNameModifiers={['separateDeliveryAddress']}
classNameModifiers={['separateDeliveryAddress', 'consentCheckbox']}
name={'separateDeliveryAddress'}
useLabelElement={false}
showErrorElement={false}
Expand Down

0 comments on commit ace45a2

Please sign in to comment.