Skip to content

Commit

Permalink
feat(json-crdt-peritext-ui): 🎸 position caret floating menu
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Jan 17, 2025
1 parent ddb032b commit 874bced
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/json-crdt-peritext-ui/plugins/toolbar/RenderCaret.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ const overClass = rule({
l: 0,
isolation: 'isolate',
us: 'none',
transform: 'translateX(calc(-50% + 0px))',
// w: '1px',
// h: '1px',
// bd: '1px solid red',
});

export interface RenderCaretProps extends CaretViewProps {
Expand Down

0 comments on commit 874bced

Please sign in to comment.