@@ -547,7 +547,7 @@ export default function TasksView({ agents }: TasksViewProps) {
547547 exit = { { opacity : 0 , y : - 8 , scale : 0.97 } }
548548 transition = { { duration : 0.24 , ease : "easeOut" } }
549549 >
550- < div className = "relative w-full max-w-2xl rounded-2xl border border-cyan-300/35 bg-slate-950/95 p-6 shadow-[0_14px_50px_rgba(4,12,28,0.85)] backdrop-blur" >
550+ < div className = "relative w-full max-w-2xl rounded-2xl border border-cyan-300/35 bg-slate-950/95 p-4 shadow-[0_14px_50px_rgba(4,12,28,0.85)] backdrop-blur md:p-6 " >
551551 < div className = "mb-5 flex items-center justify-between" >
552552 < div className = "flex items-center gap-2" >
553553 < CalendarClock className = "h-4 w-4 text-cyan-300" />
@@ -580,7 +580,7 @@ export default function TasksView({ agents }: TasksViewProps) {
580580 ) }
581581 </ label >
582582
583- < div className = "grid gap-3 md: grid-cols-2" >
583+ < div className = "grid grid-cols-2 gap-3 " >
584584 < label className = "block text-xs text-slate-300" >
585585 Cron Expression
586586 < div className = "mt-1 flex gap-2" >
@@ -635,15 +635,15 @@ export default function TasksView({ agents }: TasksViewProps) {
635635 </ label >
636636 </ div >
637637
638- < div className = "grid gap-3 md:grid-cols -3" >
638+ < div className = "grid grid-cols-3 gap-2 md:gap -3" >
639639 < label className = "block text-xs text-slate-300" >
640640 Session Target
641641 < select
642642 value = { form . sessionTarget }
643643 onChange = { ( event ) =>
644644 onChange ( { sessionTarget : event . target . value as OpenClawSessionTarget } )
645645 }
646- className = "mt-1 w-full rounded-lg border border-slate-700 bg-slate-900/80 px-3 py-2 text-sm text-slate-100 outline-none focus:border-cyan-500/60 focus:ring-1 focus:ring-cyan-500/40"
646+ className = "mt-1 w-full rounded-lg border border-slate-700 bg-slate-900/80 px-2 py-2 text-xs text-slate-100 outline-none focus:border-cyan-500/60 focus:ring-1 focus:ring-cyan-500/40 md:px-3 md:text-sm "
647647 >
648648 < option value = "isolated" > isolated</ option >
649649 < option value = "main" > main</ option >
@@ -657,7 +657,7 @@ export default function TasksView({ agents }: TasksViewProps) {
657657 onChange = { ( event ) =>
658658 onChange ( { wakeMode : event . target . value as OpenClawWakeMode } )
659659 }
660- className = "mt-1 w-full rounded-lg border border-slate-700 bg-slate-900/80 px-3 py-2 text-sm text-slate-100 outline-none focus:border-cyan-500/60 focus:ring-1 focus:ring-cyan-500/40"
660+ className = "mt-1 w-full rounded-lg border border-slate-700 bg-slate-900/80 px-2 py-2 text-xs text-slate-100 outline-none focus:border-cyan-500/60 focus:ring-1 focus:ring-cyan-500/40 md:px-3 md:text-sm "
661661 >
662662 < option value = "next-heartbeat" > next-heartbeat</ option >
663663 < option value = "now" > now</ option >
@@ -669,7 +669,7 @@ export default function TasksView({ agents }: TasksViewProps) {
669669 < select
670670 value = { form . agentId }
671671 onChange = { ( event ) => onChange ( { agentId : event . target . value } ) }
672- className = "mt-1 w-full rounded-lg border border-slate-700 bg-slate-900/80 px-3 py-2 text-sm text-slate-100 outline-none focus:border-cyan-500/60 focus:ring-1 focus:ring-cyan-500/40"
672+ className = "mt-1 w-full rounded-lg border border-slate-700 bg-slate-900/80 px-2 py-2 text-xs text-slate-100 outline-none focus:border-cyan-500/60 focus:ring-1 focus:ring-cyan-500/40 md:px-3 md:text-sm "
673673 >
674674 { agents . map ( ( agent ) => (
675675 < option key = { agent . id } value = { agent . id } >
0 commit comments