🔡 fix: Rendering of Bidirectional Text (#3195)

The fix has been applied only to key components where the rendering issue is significant
This commit is contained in:
Ghaith AlHallak 2024-06-27 18:56:12 +04:00 committed by GitHub
parent ed5ee1f86f
commit 81292bb4dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 9 additions and 2 deletions

View file

@ -44,6 +44,7 @@ const SearchContent = ({ message }: { message: TMessage }) => {
'markdown prose dark:prose-invert light w-full break-words',
message.isCreatedByUser ? 'whitespace-pre-wrap dark:text-gray-20' : 'dark:text-gray-70',
)}
dir="auto"
>
<MarkdownLite content={message.text ?? ''} />
</div>