Skip to content

Commit 8b21145

Browse files
committed
Fix achievements size and company connections
1 parent 8da3e4c commit 8b21145

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

src/app/(authenticated)/companies/[id]/connections/page.tsx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,18 @@ export default async function CompanyConnections({
4444
{users.map(
4545
(u) =>
4646
u && (
47-
<List key={u.id} title={`${u.name}&apos;s connections`}>
47+
<List key={u.id} title={`${u.name}'s connections`}>
4848
{connectionsByUser[u.id].map((c) => (
49-
<ConnectionTile key={c.to} connection={c} />
49+
<div key={c.to} className="flex flex-col">
50+
<ConnectionTile connection={c} />
51+
{!!c.notes && (
52+
<textarea
53+
disabled
54+
className="input resize-y min-h-16 max-h-32"
55+
value={c.notes}
56+
/>
57+
)}
58+
</div>
5059
))}
5160
</List>
5261
),

src/components/user/AchievementTile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function AchievementTile({
1818
return (
1919
<>
2020
<div
21-
className={`max-w-30 max-h-30 rounded-full shadow-md cursor-pointer ${achieved ? "bg-white" : "bg-gray-200 grayscale opacity-25"}`}
21+
className={`size-30 rounded-full shadow-md cursor-pointer ${achieved ? "bg-white" : "bg-gray-200 grayscale opacity-25"}`}
2222
onClick={() => setIsOpen(true)}
2323
>
2424
<Image

0 commit comments

Comments
 (0)