Commit 80c72e2
committed
fix(ui): isolate Tooltip group variant + kill textarea default border
- Tooltip now uses named 'group/tooltip' variant so that ancestor elements
using the unnamed 'group' class (e.g. PromptInput's focus-within group)
don't spuriously flip the tooltip visible when hovering unrelated
focused parents.
- PromptInput textarea gets 'border-0 outline-none focus:outline-none
focus:ring-0' — Chromium's default 1px border was bleeding through the
Tailwind preflight on some OS / GPU combinations.
- Tooltip tests updated to assert the named variant class names.
Signed-off-by: hqhq1025 <1506751656@qq.com>1 parent 6d8e8de commit 80c72e2
2 files changed
Lines changed: 3 additions & 3 deletions
File tree
- apps/desktop/src/renderer/src/components/chat
- packages/ui/src/components
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments