From 318550cab43faeb61ff3f562e673418d7b80aa08 Mon Sep 17 00:00:00 2001
From: Charles Zhao
Date: Thu, 12 Sep 2024 12:03:01 +0800
Subject: [PATCH] fix(experience-legacy): add html attribute dir to better
support RTL (#6575)
---
commitlint.config.ts | 2 +-
.../experience-legacy/src/Providers/AppBoundary/AppMeta.tsx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/commitlint.config.ts b/commitlint.config.ts
index 026ac1718..e48cbacf5 100644
--- a/commitlint.config.ts
+++ b/commitlint.config.ts
@@ -7,7 +7,7 @@ const config: UserConfig = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [2, 'always', [...conventional.rules['type-enum'][2], 'api', 'release']],
- 'scope-enum': [2, 'always', ['connector', 'console', 'core', 'demo-app', 'test', 'phrases', 'schemas', 'shared', 'experience', 'deps', 'deps-dev', 'cli', 'toolkit', 'cloud', 'app-insights', 'elements', 'translate', 'tunnel']],
+ 'scope-enum': [2, 'always', ['connector', 'console', 'core', 'demo-app', 'test', 'phrases', 'schemas', 'shared', 'experience', 'experience-legacy', 'deps', 'deps-dev', 'cli', 'toolkit', 'cloud', 'app-insights', 'elements', 'translate', 'tunnel']],
// Slightly increase the tolerance to allow the appending PR number
...(isCi && { 'header-max-length': [2, 'always', 110] }),
'body-max-line-length': [2, 'always', 110],
diff --git a/packages/experience-legacy/src/Providers/AppBoundary/AppMeta.tsx b/packages/experience-legacy/src/Providers/AppBoundary/AppMeta.tsx
index 5b1d0403f..1e0543e9f 100644
--- a/packages/experience-legacy/src/Providers/AppBoundary/AppMeta.tsx
+++ b/packages/experience-legacy/src/Providers/AppBoundary/AppMeta.tsx
@@ -38,7 +38,7 @@ const AppMeta = () => {
return (
-
+
{experienceSettings?.customCss && }