Skip to content

Commit a924ae2

Browse files
authored
Merge pull request samqin123#29 from zhuangdaz/failed-analysis
Update note-editor.tsx
2 parents d6a3bd7 + a5c2700 commit a924ae2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

components/note-editor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export function NoteEditor({ selectedText, onSave }: NoteEditorProps) {
8888
const enhancementDisabled = isEnhancing || !quoteText.trim();
8989

9090
return (
91-
<div className="relative rounded-xl bg-neutral-100 border border-[#ebecee] p-4 animate-in fade-in duration-200 w-full max-w-full overflow-hidden">
91+
<div className="relative rounded-xl bg-neutral-100 border border-[#ebecee] p-4 animate-in fade-in duration-200 w-full max-w-full">
9292
<div className="flex items-center justify-between text-[11px] uppercase tracking-[0.17em] text-muted-foreground/80 mb-1">
9393
<span>Selected Snippet</span>
9494
{hasEnhanced && !isEnhancing && (
@@ -105,7 +105,7 @@ export function NoteEditor({ selectedText, onSave }: NoteEditorProps) {
105105
onChange={(e) => setQuoteText(e.target.value)}
106106
onKeyDown={handleKeyDown}
107107
placeholder="Edit the snippet before saving"
108-
className="resize-none border-none bg-transparent px-0 py-0 text-sm text-foreground/90 leading-relaxed focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-none whitespace-pre-wrap break-words min-h-[72px]"
108+
className="resize-none border-none bg-transparent px-1 py-0 text-sm text-foreground/90 leading-relaxed focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-none whitespace-pre-wrap break-words min-h-[72px]"
109109
aria-label="Selected snippet editor"
110110
/>
111111
</div>

0 commit comments

Comments
 (0)