Skip to content

Commit eb0772e

Browse files
authored
Merge pull request #1359 from Kilo-Org/christiaan/christiaan-rtl
Fix positioning of send button in RTL languages
2 parents 8b50f8e + fbff6cb commit eb0772e

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.changeset/quick-birds-push.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"kilo-code": patch
3+
---
4+
5+
Fix positioning of send button in RTL languages

webview-ui/src/components/chat/ChatTextArea.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,8 +1239,8 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
12391239
</StandardTooltip>
12401240
</div>
12411241

1242-
{/* kilocode_change: position tweaked */}
1243-
<div className="absolute bottom-2 right-2 z-30">
1242+
{/* kilocode_change: position tweaked, rtl support */}
1243+
<div className="absolute bottom-2 end-2 z-30">
12441244
{/* kilocode_change start */}
12451245
<IndexingStatusBadge className={cn({ hidden: containerWidth < 235 })} />
12461246
<StandardTooltip content="Add Context (@)">
@@ -1294,7 +1294,8 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
12941294
sendingDisabled &&
12951295
"opacity-40 cursor-not-allowed grayscale-[30%] hover:bg-transparent hover:border-[rgba(255,255,255,0.08)] active:bg-transparent",
12961296
)}>
1297-
<SendHorizontal className="w-4 h-4" />
1297+
{/* kilocode_change: rtl */}
1298+
<SendHorizontal className="w-4 h-4 rtl:-scale-x-100" />
12981299
</button>
12991300
</StandardTooltip>
13001301
</div>

0 commit comments

Comments
 (0)