@@ -31,7 +31,7 @@ import {
31
31
useToastStore ,
32
32
useSharedBetweenProjectsStore ,
33
33
} from "@src/store" ;
34
- import { copyToClipboard } from "@src/utilities" ;
34
+ import { cn , copyToClipboard } from "@src/utilities" ;
35
35
36
36
import { Button , Frame , IconButton , IconSvg , Loader , LogoCatLarge , Tab , Tooltip } from "@components/atoms" ;
37
37
import { Accordion , IdCopyButton } from "@components/molecules" ;
@@ -300,10 +300,14 @@ export const SessionViewer = () => {
300
300
setFullScreenSessionViewer ( projectId ! , ! fullScreenSessionViewer [ projectId ! ] ) ;
301
301
} ;
302
302
303
+ const frameClass = cn ( "overflow-y-auto overflow-x-hidden rounded-2xl pb-3 font-fira-code" , {
304
+ "rounded-l-none" : ! fullScreenSessionViewer [ projectId ! ] ,
305
+ } ) ;
306
+
303
307
return isLoading && isInitialLoad ? (
304
308
< Loader size = "xl" />
305
309
) : (
306
- < Frame className = "overflow-y-auto overflow-x-hidden rounded-2xl rounded-l-none pb-3 font-fira-code" >
310
+ < Frame className = { frameClass } >
307
311
< div className = "flex justify-between" >
308
312
< div className = "flex flex-col gap-0.5 leading-6" >
309
313
< div className = "flex items-center gap-4" >
@@ -423,11 +427,11 @@ export const SessionViewer = () => {
423
427
</ Button >
424
428
</ Tooltip >
425
429
< Tooltip content = { t ( "fullScreen" ) } position = "bottom" >
426
- < IconButton className = "hover:bg-gray-1100" onClick = { toggleFullScreenSessionViewer } >
430
+ < IconButton className = "group hover:bg-gray-1100" onClick = { toggleFullScreenSessionViewer } >
427
431
{ fullScreenSessionViewer [ projectId ! ] ? (
428
- < CompressIcon className = "size-4 fill-white" />
432
+ < CompressIcon className = "size-4 fill-white group-hover:fill-green-800 " />
429
433
) : (
430
- < ExpandIcon className = "size-4 fill-white" />
434
+ < ExpandIcon className = "size-4 fill-white group-hover:fill-green-800 " />
431
435
) }
432
436
</ IconButton >
433
437
</ Tooltip >
0 commit comments