Skip to content

Commit f13225c

Browse files
authored
fix: add internal scroll for longs notes paragraphs (#355)
feat: add intenal scroll for notes with long paragraphs
1 parent a7b4f64 commit f13225c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/NoteManager/components/NoteLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const SelectedText = ({ onSelectionChanged }: { onSelectionChanged?: () =
3636
<div className="flex justify-between gap-1">
3737
<NoteLink note={note} active={true} />
3838
</div>
39-
<blockquote className="italic" data-testid="selected-text">
39+
<blockquote className="italic max-h-68 overflow-y-auto" data-testid="selected-text">
4040
{selectionString}
4141
</blockquote>
4242
</div>

0 commit comments

Comments
 (0)