Skip to content

Commit

Permalink
fix: type modal height
Browse files Browse the repository at this point in the history
  • Loading branch information
AykutSarac committed Jan 7, 2024
1 parent 31ca647 commit c92620e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/containers/Modals/TypeModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c92620e

Please sign in to comment.