Skip to content
Snippets Groups Projects
Commit 5a5a243e authored by deep1401's avatar deep1401
Browse files

Fix max width issues for evals modal and making the modal width similar to train modal

parent c91b492d
No related branches found
No related tags found
No related merge requests found
......@@ -312,15 +312,16 @@ export default function EvalModal({
}
};
return (
<Modal open={open}>
<ModalDialog
sx={{
width: '80dvw',
width: '95dvw',
transform: 'translateX(-50%)', // This undoes the default translateY that centers vertically
top: '5dvh',
overflow: 'auto',
maxHeight: '90dvh',
maxHeight: '92dvh',
minHeight: '70dvh',
height: '100%',
}}
......@@ -362,7 +363,7 @@ export default function EvalModal({
</TabPanel>
<TabPanel
value={2}
sx={{ p: 2, overflow: 'auto', maxWidth: '700px' }}
sx={{ p: 2, overflow: 'auto'}}
keepMounted
>
<DynamicPluginForm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment