Commit 2f060ae
authored
fix(examples): fix resize handle alignment and thread border gap in RTL (#3091)
### 🎯 Goal
Fix the "double vertical line" visual artifact on the resize handle in
RTL layouts.
### 🛠 Implementation details
- **Resize handle hitbox**: replaced `translateX(-50%)` centering with
`inset-inline-start: -6px` so the hitbox aligns correctly over the 1px
handle in both LTR and RTL
- **Thread border**: set `--str-chat__thread-border-inline-start: none`
on the thread container when preceded by the resize handle, preventing a
double-line artifact where the handle's line and the thread's own border
both render
### 🎨 UI Changes
In RTL, the resize handle and thread panel border now appear as a single
clean line instead of two separated lines.1 parent a4b1c26 commit 2f060ae
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
126 | | - | |
| 125 | + | |
127 | 126 | | |
128 | 127 | | |
129 | 128 | | |
| |||
438 | 437 | | |
439 | 438 | | |
440 | 439 | | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
441 | 445 | | |
442 | 446 | | |
443 | 447 | | |
| |||
0 commit comments