Skip to content

Commit f9f0f75

Browse files
committed
fix(home): align caret-anchor marker to text-top so mention popup clears glyph
1 parent 4e51396 commit f9f0f75

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • apps/sim/app/workspace/[workspaceId]/home/components/user-input

apps/sim/app/workspace/[workspaceId]/home/components/user-input/user-input.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ function getCaretAnchor(
8989
marker.style.width = '0px'
9090
marker.style.padding = '0'
9191
marker.style.border = '0'
92+
marker.style.verticalAlign = 'text-top'
9293
mirror.appendChild(marker)
9394

9495
document.body.appendChild(mirror)

0 commit comments

Comments
 (0)