@@ -163,14 +163,14 @@ export function TaskDetailModal({ isOpen, onClose, task, onUpdate, onDelete, pro
163163 } ;
164164
165165 const RESCHEDULE_OPTIONS = [
166- { label : 'Tomorrow ' , icon : Sunrise , date : ( ) => offsetDate ( 1 ) } ,
167- { label : 'In 3 days ' , icon : CalendarPlus , date : ( ) => offsetDate ( 3 ) } ,
166+ { label : 'Tmrw ' , icon : Sunrise , date : ( ) => offsetDate ( 1 ) } ,
167+ { label : '+3 ' , icon : CalendarPlus , date : ( ) => offsetDate ( 3 ) } ,
168168 { label : 'This Sat' , icon : Sofa , date : getThisSaturday } ,
169169 { label : 'Next Mon' , icon : Briefcase , date : getNextMonday } ,
170170 { label : 'Next Sat' , icon : Tent , date : getNextSaturday } ,
171- { label : 'In 15 days ' , icon : CalendarPlus , date : ( ) => offsetDate ( 15 ) } ,
172- { label : 'Next month ' , icon : CalendarFold , date : getNextMonthFirst } ,
173- { label : 'In 30 days ' , icon : CalendarPlus , date : ( ) => offsetDate ( 30 ) } ,
171+ { label : '+15 ' , icon : CalendarPlus , date : ( ) => offsetDate ( 15 ) } ,
172+ { label : 'Next Mo. ' , icon : CalendarFold , date : getNextMonthFirst } ,
173+ { label : '+30 ' , icon : CalendarPlus , date : ( ) => offsetDate ( 30 ) } ,
174174 ] ;
175175
176176 // Tag management
@@ -282,15 +282,15 @@ export function TaskDetailModal({ isOpen, onClose, task, onUpdate, onDelete, pro
282282 { /* Quick Reschedule */ }
283283 < div className = "mb-4" >
284284 < label className = "block text-xs font-bold text-gray-400 dark:text-gray-500 uppercase tracking-widest mb-2" > Reschedule</ label >
285- < div className = "flex flex-wrap gap-2 " >
285+ < div className = "grid grid-cols-8 gap-1.5 " >
286286 { RESCHEDULE_OPTIONS . map ( ( { label, icon : Icon , date } ) => (
287287 < button
288288 key = { label }
289289 onClick = { ( ) => handleQuickReschedule ( date ( ) ) }
290- className = "flex items-center gap-1.5 px -2.5 py -1 text-xs font-medium rounded-md bg-gray-50 dark:bg-gray-800 text-gray-600 dark:text-gray-300 hover:bg-blue-50 dark:hover:bg-blue-900/30 hover:text-blue-600 dark:hover:text-blue-400 transition-colors"
290+ className = "flex flex-col items-center gap-1.5 py -2.5 px -1 rounded-lg bg-gray-50 dark:bg-gray-800 text-gray-500 dark:text-gray-400 hover:bg-blue-50 dark:hover:bg-blue-900/30 hover:text-blue-600 dark:hover:text-blue-400 transition-colors"
291291 >
292- < Icon size = { 12 } />
293- { label }
292+ < Icon size = { 20 } />
293+ < span className = "text-[10px] font-medium leading-tight text-center" > { label } </ span >
294294 </ button >
295295 ) ) }
296296 </ div >
0 commit comments