Skip to content

Commit 8cecf63

Browse files
gtsiolisroboquat
authored andcommitted
Fix project details layout
1 parent e264c6a commit 8cecf63

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/dashboard/src/admin/ProjectDetail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function ProjectDetail(props: { project: Project, owner: string |
1818
<p>{props.project.cloneUrl}</p>
1919
</div>
2020
</div>
21-
<div className="flex flex-col w-full -ml-3">
21+
<div className="flex flex-col w-full">
2222
<div className="flex w-full mt-6">
2323
<Property name="Created">{moment(props.project.creationTime).format('MMM D, YYYY')}</Property>
2424
<Property name="Repository"><a className="text-blue-400 dark:text-blue-600 hover:text-blue-600 dark:hover:text-blue-400 truncate" href={props.project.cloneUrl}>{props.project.name}</a></Property>

components/dashboard/src/admin/Property.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
import { ReactChild } from 'react';
88

99
function Property(p: { name: string, children: string | ReactChild, actions?: { label: string, onClick: () => void }[] }) {
10-
return <div className="ml-3 flex flex-col w-4/12 truncate">
10+
return <div className="flex flex-col w-4/12 truncate">
1111
<div className="text-base text-gray-500 truncate">
1212
{p.name}
1313
</div>
14-
<div className="text-lg text-gray-600 font-semibold truncate">
14+
<div className="mr-3 text-lg text-gray-600 font-semibold truncate">
1515
{p.children}
1616
</div>
1717
{(p.actions || []).map(a =>

0 commit comments

Comments
 (0)