|
|
@ -94,8 +94,8 @@ const TagSuggestions = ({ editorRef, editorActions }: Props) => {
|
|
|
|
if (!isVisibleRef.current || !position) return null;
|
|
|
|
if (!isVisibleRef.current || !position) return null;
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
className="z-2 p-1 absolute max-w-[12rem] rounded font-mono shadow bg-zinc-200 dark:bg-zinc-600"
|
|
|
|
className="tag-suggestions z-20 p-1 absolute max-w-[12rem] rounded font-mono shadow bg-zinc-200 dark:bg-zinc-600"
|
|
|
|
style={{ left: position.left - 6, top: position.top + position.height + 2 }}
|
|
|
|
style={{ left: position.left, top: position.top + position.height }}
|
|
|
|
>
|
|
|
|
>
|
|
|
|
{suggestionsRef.current.map((tag, i) => (
|
|
|
|
{suggestionsRef.current.map((tag, i) => (
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|