Jobs card shrink style

This commit is contained in:
FTCHD
2025-02-28 16:02:27 +02:00
parent 898ef23044
commit b99e60dd5d
+15 -2
View File
@@ -75,7 +75,13 @@ export default function Jobs() {
return (
<div className="flex flex-col h-screen overflow-scroll">
{jobs.active.map((job) => (
<Card key={job.id} radius="none">
<Card
key={job.id}
radius="none"
style={{
flexShrink: 0,
}}
>
<CardHeader>
<div className="flex flex-row items-center justify-between w-full">
<Chip isCloseable={false} size="sm" variant="bordered">
@@ -131,7 +137,14 @@ export default function Jobs() {
{jobs.inactive.length > 0 && jobs.active.length > 0 && <Divider className="h-1" />}
{jobs.inactive.map((job) => (
<Card key={job.id} radius="none" isDisabled={true}>
<Card
key={job.id}
radius="none"
isDisabled={true}
style={{
flexShrink: 0,
}}
>
<CardHeader>
<Chip
isCloseable={false}