Skip to content

Commit 708a1fa

Browse files
author
WooCommerce
committed
Updates to 7.9.0
1 parent 7d081fb commit 708a1fa

File tree

53 files changed

+1169
-396
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1169
-396
lines changed

assets/css/gifting/shortcode-checkout.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,36 @@
2828
border-color: var(--wc-red, #cc1818);
2929
color: var(--wc-red, #cc1818);
3030
}
31+
32+
.wcsg_add_recipient_fields_container label {
33+
display: inline-block;
34+
margin-bottom: 20px;
35+
}
36+
37+
.wcsg_add_recipient_fields_container .wcsg_add_recipient_fields .woocommerce_subscriptions_gifting_recipient_email {
38+
padding: 0;
39+
margin-bottom: 20px;
40+
}
41+
42+
.wcsg_add_recipient_fields_container .wcsg_add_recipient_fields.hidden {
43+
display: none;
44+
}
45+
46+
.wcsg_add_recipient_fields_container .recipient_email:focus {
47+
outline-offset: -2px;
48+
}
49+
50+
#woocommerce_subscriptions_gifting_field {
51+
display: flex;
52+
flex-wrap: wrap;
53+
align-items: center;
54+
max-width: 100%;
55+
}
56+
57+
#woocommerce_subscriptions_gifting_field div {
58+
display: inline-flex;
59+
align-items: center;
60+
max-width: 100%;
61+
word-break: break-all;
62+
word-wrap: break-word;
63+
}

assets/js/gifting/wcs-gifting.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ jQuery( document ).ready( function ( $ ) {
156156
'.woocommerce-cart-form :input[type="submit"][name="update_cart"]'
157157
);
158158

159-
if ( $updateCartButton.length ) {
160-
$updateCartButton.prop( 'disabled', ! allValid );
159+
if ( $updateCartButton.length && ! allValid ) {
160+
$updateCartButton.prop( 'disabled', true );
161161
}
162162

163163
return allValid;

build/gifting-blocks-checkout-rtl.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

build/gifting-blocks-checkout.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

build/wcsg-blocks-integration-rtl.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react', 'react-dom', 'wc-blocks-checkout', 'wp-components', 'wp-data', 'wp-i18n', 'wp-plugins', 'wp-url'), 'version' => 'a0b59d802da6d44a20b3');
1+
<?php return array('dependencies' => array('react', 'react-dom', 'wc-blocks-checkout', 'wp-components', 'wp-data', 'wp-i18n', 'wp-plugins', 'wp-url'), 'version' => 'e5022699093de48ed96e');

build/wcsg-blocks-integration.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)