mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Update selector for hiding express checkout
This commit is contained in:
parent
c34ae55a7b
commit
f98720969a
2 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ $fast-transition-duration: 0.5s;
|
|||
}
|
||||
|
||||
// 3. Express Payment Block
|
||||
.wp-block-woocommerce-checkout-express-payment-block {
|
||||
.wc-block-components-express-payment--checkout, .wp-block-woocommerce-checkout-express-payment-block {
|
||||
transition: opacity $transition-duration ease-in,
|
||||
scale $transition-duration ease-in,
|
||||
display $transition-duration ease-in;
|
||||
|
|
|
@ -10,7 +10,7 @@ import { STORE_NAME } from '../stores/axoStore';
|
|||
*/
|
||||
export const setupAuthenticationClassToggle = () => {
|
||||
const targetSelector =
|
||||
'.wp-block-woocommerce-checkout-express-payment-block';
|
||||
'.wc-block-components-express-payment--checkout, .wp-block-woocommerce-checkout-express-payment-block';
|
||||
const authClass = 'wc-block-axo-is-authenticated';
|
||||
|
||||
const updateAuthenticationClass = () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue