Skip to content
Snippets Groups Projects
Unverified Commit d95b1bf4 authored by ali asaria's avatar ali asaria Committed by GitHub
Browse files

Merge pull request #296 from transformerlab/fix/max-width-evals

Fix max width issues for evals modal…
parents 76a84ae3 5a5a243e
No related branches found
No related tags found
No related merge requests found
...@@ -312,15 +312,16 @@ export default function EvalModal({ ...@@ -312,15 +312,16 @@ export default function EvalModal({
} }
}; };
return ( return (
<Modal open={open}> <Modal open={open}>
<ModalDialog <ModalDialog
sx={{ sx={{
width: '80dvw', width: '95dvw',
transform: 'translateX(-50%)', // This undoes the default translateY that centers vertically transform: 'translateX(-50%)', // This undoes the default translateY that centers vertically
top: '5dvh', top: '5dvh',
overflow: 'auto', overflow: 'auto',
maxHeight: '90dvh', maxHeight: '92dvh',
minHeight: '70dvh', minHeight: '70dvh',
height: '100%', height: '100%',
}} }}
...@@ -362,7 +363,7 @@ export default function EvalModal({ ...@@ -362,7 +363,7 @@ export default function EvalModal({
</TabPanel> </TabPanel>
<TabPanel <TabPanel
value={2} value={2}
sx={{ p: 2, overflow: 'auto', maxWidth: '700px' }} sx={{ p: 2, overflow: 'auto'}}
keepMounted keepMounted
> >
<DynamicPluginForm <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