@@ -378,7 +378,7 @@ export const ChatV2 = () => {
378
378
) : (
379
379
< >
380
380
< LeftMenu
381
- sx = { { display : { xs : 'none' , lg : 'flex' } , position : 'fixed' , top : 0 } }
381
+ sx = { { display : { sm : 'none' , md : 'flex' } , position : 'fixed' , top : 0 } }
382
382
course = { course }
383
383
handleReset = { handleReset }
384
384
user = { user }
@@ -391,7 +391,7 @@ export const ChatV2 = () => {
391
391
ragIndices = { ragIndices }
392
392
messages = { messages }
393
393
/>
394
- < Box width = { 400 } /> { /* Holds space for left menu */ }
394
+ < Box sx = { { width : { md : 300 , lg : 400 } } } /> { /* Holds space for left menu */ }
395
395
</ >
396
396
) ) }
397
397
@@ -557,16 +557,14 @@ export const ChatV2 = () => {
557
557
{ ! isMobile && showAnnotations && activeFileSearchResult && (
558
558
< Box
559
559
sx = { {
560
- maxWidth : { xs : 300 , md : 400 } ,
560
+ width : { md : 300 , lg : 400 } ,
561
561
height : '100vh' ,
562
562
display : 'flex' ,
563
563
flexDirection : 'column' ,
564
564
flex : 1 ,
565
565
position : 'sticky' ,
566
566
top : 0 ,
567
567
borderLeft : '1px solid rgba(0,0,0,0.12)' ,
568
- width : 400 ,
569
- minWidth : 400 ,
570
568
paddingTop : ! isEmbeddedMode ? '4rem' : 0 ,
571
569
} }
572
570
>
@@ -609,8 +607,7 @@ const LeftMenu = ({
609
607
sx = { [
610
608
{
611
609
flex : 1 ,
612
- minWidth : 300 ,
613
- maxWidth : { xs : 300 , md : 400 } ,
610
+ width : { md : 300 , lg : 400 } ,
614
611
position : 'relative' ,
615
612
height : '100vh' ,
616
613
borderRight : '1px solid rgba(0, 0, 0, 0.12)' ,
0 commit comments