Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

fix: type modal height

AykutSaracc92620e32419
diff --git a/src/containers/Modals/TypeModal/index.tsx b/src/containers/Modals/TypeModal/index.tsx
index 8f055533..718cdd6d 100644
--- a/src/containers/Modals/TypeModal/index.tsx
+++ b/src/containers/Modals/TypeModal/index.tsx
@@ -85,16 +85,14 @@ export const TypeModal: React.FC<ModalProps> = ({ opened, onClose }) => {
return (
<Modal title="Generate Types" size="auto" opened={opened} onClose={onClose} centered>
- <Stack py="sm">
+ <Stack>
<Select
value={selectedType}
data={typeOptions}
onChange={e => setSelectedType(e as Language)}
/>
- <ScrollArea>
+ <ScrollArea h={400} offsetScrollbars>
<CodeHighlight
- miw={350}
- mah={600}
language={editorLanguage}
copyLabel="Copy to clipboard"
copiedLabel="Copied to clipboard"