fixing overflow issue
This commit is contained in:
@@ -127,7 +127,7 @@ export default function ConversationDetails() {
|
|||||||
</Box>
|
</Box>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|
||||||
<Container maxWidth={false} sx={{ position: 'relative', flex: 1 }}>
|
<Container maxWidth={false} sx={{ position: 'relative', flex: 1, overflow: 'auto' }}>
|
||||||
<ConversationHistory />
|
<ConversationHistory />
|
||||||
|
|
||||||
<Box
|
<Box
|
||||||
|
|||||||
@@ -16,7 +16,16 @@ export default function MainPanel() {
|
|||||||
// show who is
|
// show who is
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Grid item xs={8} sx={{ backgroundColor: 'white', display: 'flex', flexDirection: 'column' }}>
|
<Grid
|
||||||
|
item
|
||||||
|
xs={8}
|
||||||
|
sx={{
|
||||||
|
backgroundColor: 'white',
|
||||||
|
display: 'flex',
|
||||||
|
flexDirection: 'column',
|
||||||
|
maxHeight: '100vh',
|
||||||
|
}}
|
||||||
|
>
|
||||||
{selectedConversation ? (
|
{selectedConversation ? (
|
||||||
<ConversationDetails />
|
<ConversationDetails />
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
@@ -503,6 +503,7 @@ export function TerminalProvider({ children }: { children?: React.ReactNode }) {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Grid container spacing={0}>
|
<Grid container spacing={0}>
|
||||||
|
{/* side panel */}
|
||||||
<Grid
|
<Grid
|
||||||
item
|
item
|
||||||
xs={4}
|
xs={4}
|
||||||
|
|||||||
Reference in New Issue
Block a user