diff --git a/js/desktop/src/features/compose/markdown-editor.css b/js/desktop/src/features/compose/markdown-editor.css index 4065089..f33e6b7 100644 --- a/js/desktop/src/features/compose/markdown-editor.css +++ b/js/desktop/src/features/compose/markdown-editor.css @@ -69,6 +69,9 @@ overflow-y: auto; } +/* Pad the content (not the card) so the slash menu — which Crepe appends to + * .milkdown — can use the full card width/height before clipping. */ .llink-crepe--fill .milkdown .ProseMirror { min-height: 100%; + padding: 1.25rem; } diff --git a/js/desktop/src/features/compose/text-editor.tsx b/js/desktop/src/features/compose/text-editor.tsx index 38db7ab..6855299 100644 --- a/js/desktop/src/features/compose/text-editor.tsx +++ b/js/desktop/src/features/compose/text-editor.tsx @@ -190,8 +190,11 @@ export function TextEditor({ {...dropZoneProps} onKeyDownCapture={handleKeyDown} > -
-
+
+ {/* No padding here: the editor's own scroll box hosts the slash menu, + so we pad inside the editor (ProseMirror) instead. That keeps the + menu's clipping bounds the full card rather than the inset box. */} +
{hasEnrichments && strip && ( -
+
{strip}
)}