2024-06-06 19:29:36 +08:00
|
|
|
.messageItem {
|
|
|
|
|
padding: 24px 0;
|
|
|
|
|
.messageItemSection {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
.messageItemSectionLeft {
|
2024-07-04 19:18:02 +08:00
|
|
|
width: 80%;
|
2024-06-06 19:29:36 +08:00
|
|
|
}
|
|
|
|
|
.messageItemContent {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
gap: 20px;
|
2026-02-05 13:28:55 +05:30
|
|
|
width: 100%;
|
|
|
|
|
min-width: 0;
|
2024-06-06 19:29:36 +08:00
|
|
|
}
|
|
|
|
|
.messageItemContentReverse {
|
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
|
}
|
2025-02-13 15:59:42 +08:00
|
|
|
|
2024-07-17 14:49:11 +08:00
|
|
|
.messageTextBase() {
|
|
|
|
|
padding: 6px 10px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
& > p {
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.messageText {
|
|
|
|
|
.chunkText();
|
|
|
|
|
.messageTextBase();
|
2025-08-19 09:40:01 +08:00
|
|
|
// background-color: #e6f4ff;
|
2025-02-07 09:35:49 +07:00
|
|
|
word-break: break-word;
|
2024-07-17 14:49:11 +08:00
|
|
|
}
|
2024-12-10 10:42:04 +07:00
|
|
|
.messageTextDark {
|
|
|
|
|
.chunkText();
|
|
|
|
|
.messageTextBase();
|
2026-02-27 22:26:19 +08:00
|
|
|
padding: 0;
|
2025-02-07 09:35:49 +07:00
|
|
|
word-break: break-word;
|
2025-02-13 15:59:42 +08:00
|
|
|
:global(section.think) {
|
|
|
|
|
color: rgb(166, 166, 166);
|
Feat/arabic language support (#13516)
### What problem does this PR solve?
This PR implements comprehensive Arabic language support for the RAGFlow
application. The changes include:
- Complete Arabic translation of all UI text elements in the web
interface
- RTL (right-to-left) layout support for Arabic content
- Localization updates for all supported languages (ar, bg, de, en, es,
fr, id, it, ja, pt-br, ru, vi, zh-traditional, zh)
- UI component adjustments to properly display Arabic text and support
RTL layout
The implementation ensures that Arabic-speaking users can fully interact
with the application in their native language with proper text rendering
and layout direction.
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
<img width="2866" height="1617" alt="image"
src="https://github.com/user-attachments/assets/f2751b34-1b65-4867-b81d-a1068c17b9b7"
/>
---------
Co-authored-by: Yingfeng <yingfeng.zhang@gmail.com>
2026-03-11 10:06:07 +03:00
|
|
|
border-inline-start-color: rgb(78, 78, 86);
|
2025-02-13 15:59:42 +08:00
|
|
|
}
|
2024-12-10 10:42:04 +07:00
|
|
|
}
|
|
|
|
|
|
2024-07-17 14:49:11 +08:00
|
|
|
.messageUserText {
|
|
|
|
|
.chunkText();
|
|
|
|
|
.messageTextBase();
|
2024-12-10 10:42:04 +07:00
|
|
|
background-color: rgba(255, 255, 255, 0.3);
|
2025-02-07 09:35:49 +07:00
|
|
|
word-break: break-word;
|
2024-07-17 14:49:11 +08:00
|
|
|
text-align: justify;
|
|
|
|
|
}
|
2024-06-06 19:29:36 +08:00
|
|
|
.messageEmpty {
|
|
|
|
|
width: 300px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.thumbnailImg {
|
|
|
|
|
max-width: 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.messageItemLeft {
|
Feat/arabic language support (#13516)
### What problem does this PR solve?
This PR implements comprehensive Arabic language support for the RAGFlow
application. The changes include:
- Complete Arabic translation of all UI text elements in the web
interface
- RTL (right-to-left) layout support for Arabic content
- Localization updates for all supported languages (ar, bg, de, en, es,
fr, id, it, ja, pt-br, ru, vi, zh-traditional, zh)
- UI component adjustments to properly display Arabic text and support
RTL layout
The implementation ensures that Arabic-speaking users can fully interact
with the application in their native language with proper text rendering
and layout direction.
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
<img width="2866" height="1617" alt="image"
src="https://github.com/user-attachments/assets/f2751b34-1b65-4867-b81d-a1068c17b9b7"
/>
---------
Co-authored-by: Yingfeng <yingfeng.zhang@gmail.com>
2026-03-11 10:06:07 +03:00
|
|
|
text-align: start;
|
2024-06-06 19:29:36 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.messageItemRight {
|
Feat/arabic language support (#13516)
### What problem does this PR solve?
This PR implements comprehensive Arabic language support for the RAGFlow
application. The changes include:
- Complete Arabic translation of all UI text elements in the web
interface
- RTL (right-to-left) layout support for Arabic content
- Localization updates for all supported languages (ar, bg, de, en, es,
fr, id, it, ja, pt-br, ru, vi, zh-traditional, zh)
- UI component adjustments to properly display Arabic text and support
RTL layout
The implementation ensures that Arabic-speaking users can fully interact
with the application in their native language with proper text rendering
and layout direction.
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
<img width="2866" height="1617" alt="image"
src="https://github.com/user-attachments/assets/f2751b34-1b65-4867-b81d-a1068c17b9b7"
/>
---------
Co-authored-by: Yingfeng <yingfeng.zhang@gmail.com>
2026-03-11 10:06:07 +03:00
|
|
|
text-align: end;
|
2024-06-06 19:29:36 +08:00
|
|
|
}
|