[PR #16878] [MERGED] FIX- RTL text orientation in Messages, and LTR allways for CodeBlock #24267

Closed
opened 2026-04-20 05:18:51 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/16878
Author: @rgaricano
Created: 8/24/2025
Status: Merged
Merged: 8/25/2025
Merged by: @tjbck

Base: devHead: dev-FIX_RTL_in_messages-LTR_codeblock


📝 Commits (5)

  • 3a360e4 FIX-RTL in UserMessage.svelte
  • 2b0e90c FIX RTL in Update ResponseMessage.svelte
  • 3839f18 FIX- LTR in Update CodeBlock.svelte
  • 24e696e Format Update ResponseMessage.svelte
  • 0a16af4 rerun checks

📊 Changes

3 files changed (+8 additions, -3 deletions)

View changed files

📝 src/lib/components/chat/Messages/CodeBlock.svelte (+1 -1)
📝 src/lib/components/chat/Messages/ResponseMessage.svelte (+6 -1)
📝 src/lib/components/chat/Messages/UserMessage.svelte (+1 -1)

📄 Description

FIX for RTL text orientation

Issue: https://github.com/open-webui/open-webui/discussions/16827

Added alignament condition in User Message & Response depending of the User Settings.
Added LTR alignament for Code Block.

openwebui_RTL0
openwebui_RTL1


Contributor License Agreement

By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/16878 **Author:** [@rgaricano](https://github.com/rgaricano) **Created:** 8/24/2025 **Status:** ✅ Merged **Merged:** 8/25/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `dev-FIX_RTL_in_messages-LTR_codeblock` --- ### 📝 Commits (5) - [`3a360e4`](https://github.com/open-webui/open-webui/commit/3a360e441ed4d2783f87069e316cbbedecc89725) FIX-RTL in UserMessage.svelte - [`2b0e90c`](https://github.com/open-webui/open-webui/commit/2b0e90c03221907a9aebccc7f215e0414a341318) FIX RTL in Update ResponseMessage.svelte - [`3839f18`](https://github.com/open-webui/open-webui/commit/3839f18bb16c29176d98cdd58c649b251e200569) FIX- LTR in Update CodeBlock.svelte - [`24e696e`](https://github.com/open-webui/open-webui/commit/24e696e341bc9320113f9e39b166666f22f2551a) Format Update ResponseMessage.svelte - [`0a16af4`](https://github.com/open-webui/open-webui/commit/0a16af4e9686b88844c85d55401cd8b2f0ec0f39) rerun checks ### 📊 Changes **3 files changed** (+8 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/Messages/CodeBlock.svelte` (+1 -1) 📝 `src/lib/components/chat/Messages/ResponseMessage.svelte` (+6 -1) 📝 `src/lib/components/chat/Messages/UserMessage.svelte` (+1 -1) </details> ### 📄 Description ### FIX for RTL text orientation Issue: https://github.com/open-webui/open-webui/discussions/16827 Added alignament condition in User Message & Response depending of the User Settings. Added LTR alignament for Code Block. ![openwebui_RTL0](https://github.com/user-attachments/assets/85f88a8f-0aa2-4e13-aa54-ceadd5ab5098) ![openwebui_RTL1](https://github.com/user-attachments/assets/c54cbe88-b216-4607-83c1-ad7a364b6763) ____ ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-20 05:18:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#24267