Skip to content

Commit 162215b

Browse files
gtsiolisroboquat
authored andcommitted
Truncate branch name on prebuilds page
1 parent 89104af commit 162215b

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

components/dashboard/src/projects/Prebuilds.tsx

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -266,16 +266,18 @@ export default function (props: { project?: Project; isAdminDashboard?: boolean
266266
</div>
267267
</ItemField>
268268
<ItemField className="flex w-3/12">
269-
<a href={p.info.changeUrl} className="cursor-pointer">
270-
<div className="flex space-x-2 truncate">
271-
<span
272-
className="font-medium text-gray-500 dark:text-gray-50 truncate"
273-
title={p.info.branch}
274-
>
275-
{p.info.branch}
276-
</span>
277-
</div>
278-
</a>
269+
<div className="truncate">
270+
<a href={p.info.changeUrl} className="cursor-pointer">
271+
<div className="flex space-x-2 truncate">
272+
<span
273+
className="font-medium text-gray-500 dark:text-gray-50 truncate"
274+
title={p.info.branch}
275+
>
276+
{p.info.branch}
277+
</span>
278+
</div>
279+
</a>
280+
</div>
279281
<span className="flex-grow" />
280282
</ItemField>
281283
</Item>

0 commit comments

Comments
 (0)