Repository navigation
Commit 947b851
fix(search): give the first glyph real ink clearance via text-indent
Chrome clips input text at the content box, not the padding box, so the
previous padding-based clearance was dead space — glyph ink still
started exactly at the clip edge, and the first letter kept losing its
left edge under low browser zoom. text-indent starts the text 3px
inside the clip region, which is clearance the renderer can actually
paint into; the compensating negative margin keeps the text aligned
with the result-row titles as before.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent ed3d010 commit 947b851
1 file changed
Lines changed: 9 additions & 7 deletions
File tree
- apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/search-modal/components/command-chrome
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
97 | | - | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| |||
0 commit comments