feat: Add RTL Support to Widget (#11022)

This PR adds RTL support to the web widget for improved right-to-left language compatibility, updates colors, and cleans up code.

Fixes https://linear.app/chatwoot/issue/CW-4089/rtl-issues-on-widget

https://github.com/chatwoot/chatwoot/issues/9791

Other PR: https://github.com/chatwoot/chatwoot/pull/11016
This commit is contained in:
Sivin Varghese
2025-03-21 22:09:03 +05:30
committed by GitHub
parent e4ea078e52
commit 3a693947b5
76 changed files with 966 additions and 2406 deletions

View File

@@ -663,10 +663,10 @@ export default {
}
&.is-failed {
@apply bg-red-200 dark:bg-red-200;
@apply bg-n-ruby-4 dark:bg-n-ruby-4 text-n-slate-12;
.message-text--metadata .time {
@apply text-red-50 dark:text-red-50;
@apply text-n-ruby-12 dark:text-n-ruby-12;
}
}
}
@@ -727,7 +727,7 @@ li.right {
}
.wrap.is-failed {
@apply flex items-end ml-auto;
@apply flex items-end ltr:ml-auto rtl:mr-auto;
}
}