@@ -82,7 +82,7 @@ export const SessionViewer = () => {
82
82
const link = document . createElement ( "a" ) ;
83
83
link . href = url ;
84
84
if ( ! sessionInfo ) return ;
85
- const timestamp = moment ( sessionInfo . createdAt ) . format ( "YY-MM-DD_HH-mm" ) ;
85
+ const timestamp = dayjs ( sessionInfo . createdAt ) . format ( "YY-MM-DD_HH-mm" ) ;
86
86
link . download = `${ timestamp } _${ sessionId } .log` ;
87
87
document . body . appendChild ( link ) ;
88
88
link . click ( ) ;
@@ -213,7 +213,7 @@ export const SessionViewer = () => {
213
213
return isLoading && isInitialLoad ? (
214
214
< Loader size = "xl" />
215
215
) : (
216
- < Frame className = "pb-3 overflow-x-hidden overflow-y-auto rounded-l-none font-fira-code" >
216
+ < Frame className = "overflow-y-auto overflow-x-hidden rounded-l-none pb-3 font-fira-code" >
217
217
< div className = "flex justify-between" >
218
218
< div className = "flex flex-col gap-0.5 leading-6" >
219
219
< div className = "flex items-center gap-4" >
@@ -229,7 +229,7 @@ export const SessionViewer = () => {
229
229
< div className = "w-32 text-gray-1550" > { t ( "entrypoint" ) } </ div >
230
230
< div className = "inline" >
231
231
< div className = "inline" > { sessionInfo . entrypoint . path } </ div >
232
- < IconSvg className = "inline mx-2 fill-white" size = "sm" src = { ArrowRightIcon } />
232
+ < IconSvg className = "mx-2 inline fill-white" size = "sm" src = { ArrowRightIcon } />
233
233
< div className = "inline" > { sessionInfo . entrypoint . name } </ div >
234
234
</ div >
235
235
</ div >
@@ -276,7 +276,7 @@ export const SessionViewer = () => {
276
276
</ div >
277
277
</ div >
278
278
279
- < div className = "flex items-start justify-between flex-1 " >
279
+ < div className = "flex flex-1 items-start justify-between" >
280
280
< div className = "flex-1" >
281
281
{ sessionInfo . inputs ? (
282
282
< div className = "mt-3 max-w-[80%] pb-3.5" >
@@ -297,15 +297,15 @@ export const SessionViewer = () => {
297
297
) : null }
298
298
</ div >
299
299
300
- < div className = "flex mt-3" >
300
+ < div className = "mt-3 flex " >
301
301
< Tooltip content = { t ( "copy" ) } position = "bottom" >
302
302
< Button
303
- className = "py-2 pl-2 text-white group disabled:cursor-not-allowed disabled:opacity-50"
303
+ className = "group py-2 pl-2 text-white disabled:cursor-not-allowed disabled:opacity-50"
304
304
disabled = { isCopyingLogs }
305
305
onClick = { copySessionLogs }
306
306
>
307
307
{ isCopyingLogs ? (
308
- < div className = "flex items-center size-4" >
308
+ < div className = "flex size-4 items-center " >
309
309
< Loader size = "sm" />
310
310
</ div >
311
311
) : (
@@ -315,12 +315,12 @@ export const SessionViewer = () => {
315
315
</ Tooltip >
316
316
< Tooltip content = { t ( "download" ) } position = "bottom" >
317
317
< Button
318
- className = "py-2 pl-2 text-white group disabled:cursor-not-allowed disabled:opacity-50"
318
+ className = "group py-2 pl-2 text-white disabled:cursor-not-allowed disabled:opacity-50"
319
319
disabled = { isDownloadingLogs }
320
320
onClick = { downloadSessionLogs }
321
321
>
322
322
{ isDownloadingLogs ? (
323
- < div className = "flex items-center size-4" >
323
+ < div className = "flex size-4 items-center " >
324
324
< Loader size = "sm" />
325
325
</ div >
326
326
) : (
@@ -367,7 +367,7 @@ export const SessionViewer = () => {
367
367
) : null }
368
368
369
369
< div className = "flex items-center justify-between" >
370
- < div className = "flex items-center gap-2 my-5 overflow-x-auto overflow-y-hidden uppercase scrollbar whitespace-nowrap xl:gap-4 2xl:gap-6" >
370
+ < div className = "scrollbar my-5 flex items-center gap-2 overflow-x-auto overflow-y-hidden whitespace-nowrap uppercase xl:gap-4 2xl:gap-6" >
371
371
{ sessionTabs . map ( ( singleTab ) => (
372
372
< Tab
373
373
activeTab = { activeTab }
0 commit comments