From 9f524093d704e60212d96303ed2337756413d41d Mon Sep 17 00:00:00 2001 From: Igor <35524806+igorschoester@users.noreply.github.com> Date: Mon, 16 Dec 2024 16:18:15 +0100 Subject: [PATCH] Fix settings page RTL --- packages/js/src/settings/app.js | 4 ++-- packages/js/src/settings/components/form-layout.js | 2 +- .../src/settings/components/formik-user-select-field.js | 2 +- packages/js/src/settings/components/notifications.js | 2 +- packages/js/src/settings/components/search.js | 8 ++++---- packages/js/src/settings/routes/breadcrumbs.js | 4 ++-- packages/js/src/settings/routes/crawl-optimization.js | 6 +++--- packages/js/src/settings/routes/site-basics.js | 2 +- packages/js/src/settings/routes/site-features.js | 6 +++--- packages/js/src/settings/routes/site-representation.js | 8 ++++---- packages/js/src/settings/routes/templates/post-type.js | 2 +- .../js/src/shared-admin/components/premium-upsell-list.js | 2 +- .../src/shared-admin/components/unsaved-changes-modal.js | 2 +- 13 files changed, 25 insertions(+), 25 deletions(-) diff --git a/packages/js/src/settings/app.js b/packages/js/src/settings/app.js index bcdac0e572b..7ea742e71d9 100644 --- a/packages/js/src/settings/app.js +++ b/packages/js/src/settings/app.js @@ -203,7 +203,7 @@ const App = () => { -
+
@@ -259,7 +259,7 @@ const App = () => { /> }
{ ! isPremium && -
+
{ animateOpacity={ true } >
-
+
} diff --git a/packages/js/src/settings/routes/site-representation.js b/packages/js/src/settings/routes/site-representation.js index d8a707d9597..6bf3bbd540f 100644 --- a/packages/js/src/settings/routes/site-representation.js +++ b/packages/js/src/settings/routes/site-representation.js @@ -262,7 +262,7 @@ const SiteRepresentation = () => { id="input-wpseo_social-mastodon_url" label={ __( "Mastodon", "wordpress-seo" ) } placeholder={ __( "E.g. https://mastodon.social/@yoast", "wordpress-seo" ) } - labelSuffix={ isPremium && Premium } + labelSuffix={ isPremium && Premium } isDummy={ ! isPremium } description={ <> { __( "Get your site verified in your Mastodon profile.", "wordpress-seo" ) } @@ -314,7 +314,7 @@ const SiteRepresentation = () => { ) ) } { /* eslint-disable-next-line react/jsx-no-bind */ } @@ -325,7 +325,7 @@ const SiteRepresentation = () => { { __( "Additional organization info", "wordpress-seo" ) } - { isPremium && Premium } + { isPremium && Premium } } description={ __( "Enrich your organization's profile by providing more in-depth information. The more details you share, the better Google understands your website.", "wordpress-seo" ) } > @@ -411,7 +411,7 @@ const SiteRepresentation = () => { { __( "Organization identifiers", "wordpress-seo" ) } - { isPremium && Premium } + { isPremium && Premium } } description={ __( "Please tell us more about your organization’s identifiers. This information will help Google to display accurate and helpful details about your organization.", "wordpress-seo" ) } > diff --git a/packages/js/src/settings/routes/templates/post-type.js b/packages/js/src/settings/routes/templates/post-type.js index 5cd1c70355e..c09fde9d45e 100644 --- a/packages/js/src/settings/routes/templates/post-type.js +++ b/packages/js/src/settings/routes/templates/post-type.js @@ -320,7 +320,7 @@ const PostType = ( { name, label, singularLabel, hasArchive, hasSchemaArticleTyp name={ `wpseo_titles.page-analyse-extra-${ name }` } id={ `input-wpseo_titles-page-analyse-extra-${ name }` } label={ __( "Add custom fields to page analysis", "wordpress-seo" ) } - labelSuffix={ isPremium && Premium } + labelSuffix={ isPremium && Premium } description={ <> { customFieldsDescription }
diff --git a/packages/js/src/shared-admin/components/premium-upsell-list.js b/packages/js/src/shared-admin/components/premium-upsell-list.js index ecc231bfa3e..fcc04ed9a43 100644 --- a/packages/js/src/shared-admin/components/premium-upsell-list.js +++ b/packages/js/src/shared-admin/components/premium-upsell-list.js @@ -31,7 +31,7 @@ export const PremiumUpsellList = ( { premiumLink, premiumUpsellConfig, isPromoti "Yoast SEO Premium" ) } -
    +
      { getPremiumBenefits().map( ( benefit, index ) => (
    • { createInterpolateElement( benefit, { strong: } ) } diff --git a/packages/js/src/shared-admin/components/unsaved-changes-modal.js b/packages/js/src/shared-admin/components/unsaved-changes-modal.js index e410118f836..40d5dc2cc3e 100644 --- a/packages/js/src/shared-admin/components/unsaved-changes-modal.js +++ b/packages/js/src/shared-admin/components/unsaved-changes-modal.js @@ -28,7 +28,7 @@ export const UnsavedChangesModal = ( { isOpen, onClose = noop, onDiscard = noop, >
-
+
{ title }