mirror of
https://github.com/NeuralNomadsAI/CodeNomad.git
synced 2026-07-10 00:14:27 +00:00
fix(rtl): auto-detect text direction in reasoning block
This commit is contained in:
parent
0874f78ccf
commit
46150cda5e
2 changed files with 2 additions and 1 deletions
|
|
@ -1531,7 +1531,7 @@ function ReasoningCard(props: ReasoningCardProps) {
|
|||
<div class="message-reasoning-expanded">
|
||||
<div class="message-reasoning-body">
|
||||
<div class="message-reasoning-output" role="region" aria-label={t("messageBlock.reasoning.detailsAriaLabel")}>
|
||||
<pre class="message-reasoning-text">{reasoningText() || ""}</pre>
|
||||
<pre class="message-reasoning-text" dir="auto">{reasoningText() || ""}</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -547,4 +547,5 @@
|
|||
color: var(--text-primary);
|
||||
white-space: pre-wrap;
|
||||
margin: 0;
|
||||
unicode-bidi: plaintext;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue