Commit 11523f9d authored by Filip Šenk's avatar Filip Šenk Committed by Marek Veselý
Browse files

Fix: Fixed overflow

parent fd8c63be
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ import {
  useTypedMutation,
  useTypedQuery,
} from '@inject/graphql'
import { dialog, notEmpty } from '@inject/shared'
import { dialog, dialogBody, notEmpty } from '@inject/shared'
import type { Dispatch, FC, FormEvent, SetStateAction } from 'react'
import { useCallback, useState } from 'react'
import OverrideConfig from './OverrideConfig'
@@ -111,8 +111,12 @@ const ExerciseCreator: FC<ExerciseCreatorProps> = ({ open, setOpen }) => {
      icon='add'
      title='Create an exercise'
    >
      <form onSubmit={handleSubmit}>
        <DialogBody>
      <form onSubmit={handleSubmit} className={dialogBody}>
        <DialogBody
          className={css`
            overflow-y: scroll;
          `}
        >
          <FormGroup
            label='Definition'
            intent={errors.definition ? 'danger' : 'none'}