fixing overflow issue

This commit is contained in:
talksik
2022-05-29 14:10:33 -05:00
parent 026e5726e2
commit 749aac7786
3 changed files with 12 additions and 2 deletions
@@ -127,7 +127,7 @@ export default function ConversationDetails() {
</Box>
</Stack>
<Container maxWidth={false} sx={{ position: 'relative', flex: 1 }}>
<Container maxWidth={false} sx={{ position: 'relative', flex: 1, overflow: 'auto' }}>
<ConversationHistory />
<Box
+10 -1
View File
@@ -16,7 +16,16 @@ export default function MainPanel() {
// show who is
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 ? (
<ConversationDetails />
) : (
@@ -503,6 +503,7 @@ export function TerminalProvider({ children }: { children?: React.ReactNode }) {
}}
>
<Grid container spacing={0}>
{/* side panel */}
<Grid
item
xs={4}