Skip to content

Commit e92516a

Browse files
committed
yeahh info so it can fit more
1 parent 4673bc5 commit e92516a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/popout/info.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,12 @@ type InfoProps = {
2323
const InfoList = ({ title, children }: Information) => {
2424
return (
2525
<div className="grid-cols-1 sm:gap-0 gap-1 sm:grid-cols-2 items-center min-w-auto grid w-full">
26-
<p className="flex justify-start font-medium">{title}</p>
27-
<p className="flex justify-start sm:justify-end truncate">{children}</p>
26+
<p className="flex justify-start font-medium max-w-xs">{title}</p>
27+
<p className="flex justify-start sm:justify-end truncate overflow-hidden">
28+
<span className="inline-block overflow-hidden overflow-ellipsis">
29+
{children}
30+
</span>
31+
</p>
2832
</div>
2933
)
3034
}

0 commit comments

Comments
 (0)