There was an error while loading. Please reload this page.
1 parent 0f008a1 commit e20816cCopy full SHA for e20816c
app/actions/components/result.tsx
@@ -17,7 +17,14 @@ export default function Result({
17
<div className="mx-6 my-8">
18
<InputLabel>{capitalize(label)}</InputLabel>
19
<InputWrap>
20
- <div className="text-balance break-words">{children}</div>
+ <div
21
+ className="text-balance break-words"
22
+ onClick={(e) =>
23
+ document.getSelection()?.selectAllChildren(e.target as any)
24
+ }
25
+ >
26
+ {children}
27
+ </div>
28
</InputWrap>
29
<Description>{description}</Description>
30
</div>
0 commit comments