Skip to content

Commit 7995fbe

Browse files
committed
Better handling for prosemirror to fix safari issues, but maintain all functionality
1 parent 7c17327 commit 7995fbe

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

apps/snow-leopard/components/ai-settings-menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export function AiSettingsMenu() {
9898
onChange={(e) => setLocalInstructions(e.target.value)}
9999
/>
100100
<p className="text-[11px] text-muted-foreground leading-tight">
101-
Leave blank for default behavior. Your instructions shape the AIap&apos;s responses.
101+
Leave blank for default behavior. Your instructions shape the AI&apos;s responses.
102102
</p>
103103
</div>
104104
</DropdownMenuContent>

apps/snow-leopard/components/document/text-editor.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -623,9 +623,11 @@ function PureEditor({
623623
}
624624
625625
.synonym-word {
626-
/* Cursor is handled by the browser default for text */
627-
/* Removed position: relative; */
628-
display: inline; /* Changed from inline-block */
626+
display: inline;
627+
}
628+
.synonym-word.synonym-loading {
629+
position: relative; /* Only add positioning when showing hover overlay */
630+
display: inline-block; /* Only wrap word for hover overlay */
629631
}
630632
.synonym-overlay-menu {
631633
/* Dark background like the image */

0 commit comments

Comments
 (0)