From 9441130f0554816ee02065e46565158d8a2fb623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alonso=20Ure=C3=B1a?= Date: Wed, 16 Aug 2023 11:11:49 -0600 Subject: [PATCH] fix(www): payment method :has selector not working on Firefox (#1209) Co-authored-by: shadcn --- .../cards/components/payment-method.tsx | 80 +++++++++++-------- .../default/example/cards/payment-method.tsx | 78 ++++++++++-------- .../new-york/example/cards/payment-method.tsx | 76 ++++++++++-------- 3 files changed, 129 insertions(+), 105 deletions(-) diff --git a/apps/www/app/examples/cards/components/payment-method.tsx b/apps/www/app/examples/cards/components/payment-method.tsx index 08f7420c9..0d7e2fffa 100644 --- a/apps/www/app/examples/cards/components/payment-method.tsx +++ b/apps/www/app/examples/cards/components/payment-method.tsx @@ -30,42 +30,52 @@ export function DemoPaymentMethod() { - - - + + + + + Card + + +
+ + +
+
+ + +
diff --git a/apps/www/registry/default/example/cards/payment-method.tsx b/apps/www/registry/default/example/cards/payment-method.tsx index 0aac70331..111afcf05 100644 --- a/apps/www/registry/default/example/cards/payment-method.tsx +++ b/apps/www/registry/default/example/cards/payment-method.tsx @@ -32,57 +32,65 @@ export function CardsPaymentMethod() { -
diff --git a/apps/www/registry/new-york/example/cards/payment-method.tsx b/apps/www/registry/new-york/example/cards/payment-method.tsx index 10917eab1..d5f69dfd5 100644 --- a/apps/www/registry/new-york/example/cards/payment-method.tsx +++ b/apps/www/registry/new-york/example/cards/payment-method.tsx @@ -32,57 +32,63 @@ export function CardsPaymentMethod() { -