Skip to content

Commit eed5582

Browse files
committed
Adjust formatting for not-eqally-sized badges
1 parent 121d537 commit eed5582

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

app/components/GithubActionsScheduledJobs.tsx

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,23 @@ function GithubActionsJob({
88
workflowName: string;
99
}) {
1010
return (
11-
<div>
11+
<div className={"w-full"}>
1212
<a
1313
href={`https://github.com/ISISComputingGroup/${repo}/actions/workflows/${workflowName}`}
1414
className={
15-
"flex-row flex items-center content-center h-10 w-full text-center rounded-lg bg-gray-800 border-2 border-black hover:border-white"
15+
"flex flex-row h-10 w-full rounded-lg bg-gray-800 border-2 border-black hover:border-white"
1616
}
1717
>
18-
<h2 className={"text-center text-lg w-1/2"}>{repo} </h2>
19-
<Image
20-
src={`https://github.com/ISISComputingGroup/${repo}/actions/workflows/${workflowName}/badge.svg`}
21-
alt={"ibex_bluesky_core lint-and-test-nightly badge"}
22-
className={"w-1/2 pr-2"}
23-
width={500}
24-
height={500}
25-
/>
18+
<h2 className={"text-lg text-center w-2/5 mx-5"}>{repo}</h2>
19+
<div className={"float-right w-3/5"}>
20+
<Image
21+
src={`https://github.com/ISISComputingGroup/${repo}/actions/workflows/${workflowName}/badge.svg`}
22+
alt={"build status badge"}
23+
className={"h-8 w-auto my-0.5 float-right"}
24+
width={500}
25+
height={500}
26+
/>
27+
</div>
2628
</a>
2729
</div>
2830
);

0 commit comments

Comments
 (0)