diff --git a/src/App.jsx b/src/App.jsx
index b6d3b2b..bcf13ca 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -1,4 +1,5 @@
import { useEffect, useRef, useState } from 'react';
+import { createPortal } from 'react-dom';
import {
Document,
HeadingLevel,
@@ -2111,8 +2112,8 @@ const restoreRemoteProject = async (id) => {
- {/* Greek word picker modal */}
- {suggestModal && (
+ {/* Greek word picker modal — portalled to document.body so it's never clipped by parent CSS */}
+ {suggestModal && createPortal(
{ if (e.target === e.currentTarget) { setSuggestModal(null); setSuggestSelection(new Set()); } }}
@@ -2143,7 +2144,7 @@ const restoreRemoteProject = async (id) => {
{suggestModal.words.map((w) => (
-
-
-
+ ,
+ document.body
)}
);