From 2ca09d2ccfbe132bd55f6236871cc5ff011e98c5 Mon Sep 17 00:00:00 2001 From: eugenetsakh Date: Mon, 9 Dec 2024 18:12:46 +0100 Subject: [PATCH 1/3] Fix Captcha styles, fix subscribe to product alignment, prevent custom styles from interfering with predefined widgets --- .../ko/runtime/product-subscribe.html | 6 ++-- .../react/runtime/ProductSubscribeForm.tsx | 2 +- .../runtime/hip-captcha/react/NewCaptcha.tsx | 32 ++++++++++--------- .../users/signup/ko/runtime/signup.html | 6 ++-- .../website/styles/widgets/widgets.scss | 26 +++++++++++++++ webpack.publisher.js | 2 +- 6 files changed, 51 insertions(+), 23 deletions(-) diff --git a/src/components/products/product-subscribe/ko/runtime/product-subscribe.html b/src/components/products/product-subscribe/ko/runtime/product-subscribe.html index 04ce9d900..278f491a9 100644 --- a/src/components/products/product-subscribe/ko/runtime/product-subscribe.html +++ b/src/components/products/product-subscribe/ko/runtime/product-subscribe.html @@ -22,11 +22,11 @@
-
+
-
- +
+
diff --git a/src/components/products/product-subscribe/react/runtime/ProductSubscribeForm.tsx b/src/components/products/product-subscribe/react/runtime/ProductSubscribeForm.tsx index 14a4fadca..17e96ce1a 100644 --- a/src/components/products/product-subscribe/react/runtime/ProductSubscribeForm.tsx +++ b/src/components/products/product-subscribe/react/runtime/ProductSubscribeForm.tsx @@ -27,7 +27,7 @@ export const ProductSubscribeForm = ({ subscribe, termsOfUse, showTermsByDefault tokens={{ childrenGap: 15 }} className="form-group" > - + setSubscriptionName(event.target.value)} diff --git a/src/components/users/runtime/hip-captcha/react/NewCaptcha.tsx b/src/components/users/runtime/hip-captcha/react/NewCaptcha.tsx index 6847574fb..cd919afe9 100644 --- a/src/components/users/runtime/hip-captcha/react/NewCaptcha.tsx +++ b/src/components/users/runtime/hip-captcha/react/NewCaptcha.tsx @@ -91,25 +91,27 @@ export const NewCaptcha = ({ backendService, onInitComplete }: TCaptchaProps) => } value={ECaptchaType.audio}>Audio - {working ? ( - - - - ) : captchaType === ECaptchaType.visual ? ( - - + {working ? ( + + + + ) : captchaType === ECaptchaType.visual ? ( + + visual challange - - ) : ( - + ) : ( + - )} + /> + + )} +
diff --git a/src/components/users/signup/ko/runtime/signup.html b/src/components/users/signup/ko/runtime/signup.html index 215eed2d1..2a6768d83 100644 --- a/src/components/users/signup/ko/runtime/signup.html +++ b/src/components/users/signup/ko/runtime/signup.html @@ -34,14 +34,14 @@ - - + +
- +