Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aljullu committed Jul 16, 2020
1 parent f4f6a05 commit 49b7113
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/js/base/components/textarea/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import './style.scss';
const Textarea = ( {
className = '',
disabled = false,
placeholder,
onChange,
placeholder,
value = '',
} ) => {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/**
* External dependencies
*/
import { __ } from '@wordpress/i18n';
import { useState } from '@wordpress/element';
import CheckboxControl from '@woocommerce/base-components/checkbox-control';
import Textarea from '@woocommerce/base-components/textarea';
Expand All @@ -18,7 +19,10 @@ const CheckoutOrderNotes = ( { disabled, onChange, placeholder, value } ) => {
<div className="wc-block-checkout__add-note">
<CheckboxControl
disabled={ disabled }
label="Add a note to your order"
label={ __(
'Add a note to your order',
'woo-gutenberg-products-block'
) }
checked={ withOrderNotes }
onChange={ ( isChecked ) => {
setWithOrderNotes( isChecked );
Expand Down
3 changes: 1 addition & 2 deletions assets/js/blocks/cart-checkout/checkout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}

.wc-block-checkout__use-address-for-billing {
margin-top: $gap;
margin-top: em($gap-large);
}

.wc-block-checkout__shipping-option {
Expand Down Expand Up @@ -183,7 +183,6 @@
.is-large {
.wc-block-checkout__billing-fields,
.wc-block-checkout__shipping-fields {

.wc-block-components-address-form {
margin-left: #{-$gap-small / 2};
margin-right: #{-$gap-small / 2};
Expand Down

0 comments on commit 49b7113

Please sign in to comment.