Skip to content

Commit 3cefa43

Browse files
authored
Merge pull request #4031 from difagume/style/deployments-remove-max-w-8xl
style(dashboard): remove max-width constraint from deployments card
2 parents d6124aa + 0941ec9 commit 3cefa43

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

apps/dokploy/pages/dashboard/deployments.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function DeploymentsPage() {
4040

4141
return (
4242
<div className="w-full">
43-
<Card className="h-full bg-sidebar p-2.5 rounded-xl max-w-8xl mx-auto min-h-[45vh]">
43+
<Card className="h-full bg-sidebar p-2.5 rounded-xl min-h-[45vh]">
4444
<div className="rounded-xl bg-background shadow-md h-full">
4545
<CardHeader>
4646
<div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between">

apps/schedules/src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,10 @@ process.on("uncaughtException", (err) => {
104104
});
105105

106106
process.on("unhandledRejection", (reason, _promise) => {
107-
logger.error(reason instanceof Error ? reason : { reason: String(reason) }, "Unhandled Rejection at: Promise");
107+
logger.error(
108+
reason instanceof Error ? reason : { reason: String(reason) },
109+
"Unhandled Rejection at: Promise",
110+
);
108111
});
109112

110113
const port = Number.parseInt(process.env.PORT || "3000");

apps/schedules/src/utils.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,10 @@ export const initializeJobs = async () => {
142142
cronSchedule: CLEANUP_CRON_JOB,
143143
});
144144
} catch (error) {
145-
logger.error(error, `Failed to schedule cleanup job for server ${serverId}`);
145+
logger.error(
146+
error,
147+
`Failed to schedule cleanup job for server ${serverId}`,
148+
);
146149
}
147150
}
148151

@@ -255,7 +258,10 @@ export const initializeJobs = async () => {
255258
cronSchedule: volumeBackup.cronExpression,
256259
});
257260
} catch (error) {
258-
logger.error(error, `Failed to schedule volume backup ${volumeBackup.volumeBackupId}`);
261+
logger.error(
262+
error,
263+
`Failed to schedule volume backup ${volumeBackup.volumeBackupId}`,
264+
);
259265
}
260266
}
261267

0 commit comments

Comments
 (0)