@@ -58,7 +58,7 @@ export const ShowSchedules = ({ id, scheduleType = "application" }: Props) => {
58
58
return (
59
59
< Card className = "border px-6 shadow-none bg-transparent h-full min-h-[50vh]" >
60
60
< CardHeader className = "px-0" >
61
- < div className = "flex justify-between items-center" >
61
+ < div className = "flex justify-between items-center gap-y-2 flex-wrap " >
62
62
< div className = "flex flex-col gap-2" >
63
63
< CardTitle className = "text-xl font-bold flex items-center gap-2" >
64
64
Scheduled Tasks
@@ -91,15 +91,15 @@ export const ShowSchedules = ({ id, scheduleType = "application" }: Props) => {
91
91
return (
92
92
< div
93
93
key = { schedule . scheduleId }
94
- className = "flex items-center justify-between rounded-lg border p-3 transition-colors bg-muted/50"
94
+ className = "flex items-center flex-wrap sm:flex-nowrap gap-y-2 justify-between rounded-lg border p-3 transition-colors bg-muted/50"
95
95
>
96
96
< div className = "flex items-start gap-3" >
97
- < div className = "flex h-9 w-9 items-center justify-center rounded-full bg-primary/5" >
97
+ < div className = "flex flex-shrink-0 h-9 w-9 items-center justify-center rounded-full bg-primary/5" >
98
98
< Clock className = "size-4 text-primary/70" />
99
99
</ div >
100
100
< div className = "space-y-1.5" >
101
- < div className = "flex items-center gap-2" >
102
- < h3 className = "text-sm font-medium leading-none" >
101
+ < div className = "flex items-center gap-2 flex-wrap " >
102
+ < h3 className = "text-sm font-medium leading-none [overflow-wrap:anywhere] line-clamp-3 " >
103
103
{ schedule . name }
104
104
</ h3 >
105
105
< Badge
@@ -109,7 +109,7 @@ export const ShowSchedules = ({ id, scheduleType = "application" }: Props) => {
109
109
{ schedule . enabled ? "Enabled" : "Disabled" }
110
110
</ Badge >
111
111
</ div >
112
- < div className = "flex items-center gap-2 text-sm text-muted-foreground" >
112
+ < div className = "flex items-center gap-2 text-sm text-muted-foreground flex-wrap " >
113
113
< Badge
114
114
variant = "outline"
115
115
className = "font-mono text-[10px] bg-transparent"
@@ -142,7 +142,7 @@ export const ShowSchedules = ({ id, scheduleType = "application" }: Props) => {
142
142
</ div >
143
143
</ div >
144
144
145
- < div className = "flex items-center gap-1.5" >
145
+ < div className = "flex items-center gap-0.5 md:gap- 1.5" >
146
146
< ShowDeploymentsModal
147
147
id = { schedule . scheduleId }
148
148
type = "schedule"
@@ -226,7 +226,7 @@ export const ShowSchedules = ({ id, scheduleType = "application" }: Props) => {
226
226
} ) }
227
227
</ div >
228
228
) : (
229
- < div className = "flex flex-col gap-2 items-center justify-center py-12 rounded-lg" >
229
+ < div className = "flex flex-col gap-2 items-center justify-center py-12 rounded-lg" >
230
230
< Clock className = "size-8 mb-4 text-muted-foreground" />
231
231
< p className = "text-lg font-medium text-muted-foreground" >
232
232
No scheduled tasks
0 commit comments