fix: issue modal overflow (#549)

* feat: block sync

* fix: create issue modal overflow
This commit is contained in:
Aaryan Khandelwal 2023-03-28 01:52:04 +05:30 committed by GitHub
parent e0928d6ec5
commit b9e42d116e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -236,7 +236,7 @@ export const CreateUpdateIssueModal: React.FC<IssuesModalProps> = ({
<div className="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" />
</Transition.Child>
<div className="fixed inset-0 z-10 overflow-y-auto">
<div className="fixed inset-0 z-10">
<div className="mt-10 flex min-h-full items-start justify-center p-4 text-center sm:p-0 md:mt-20">
<Transition.Child
as={React.Fragment}

View File

@ -10,6 +10,7 @@ import { mutate } from "swr";
import { Controller, useForm } from "react-hook-form";
// services
import pagesService from "services/pages.service";
import issuesService from "services/issues.service";
// hooks
import useToast from "hooks/use-toast";
// components
@ -19,15 +20,14 @@ import { GptAssistantModal } from "components/core";
import { CustomMenu, Loader, TextArea } from "components/ui";
// icons
import { LayerDiagonalIcon, WaterDropIcon } from "components/icons";
import { ArrowPathIcon } from "@heroicons/react/20/solid";
import { CheckIcon } from "@heroicons/react/24/outline";
// helpers
import { copyTextToClipboard } from "helpers/string.helper";
// types
import { IIssue, IPageBlock, IProject } from "types";
// fetch-keys
import { PAGE_BLOCKS_LIST } from "constants/fetch-keys";
import { ArrowTopRightOnSquareIcon, CheckIcon } from "@heroicons/react/24/outline";
import issuesService from "services/issues.service";
import { ArrowPathIcon } from "@heroicons/react/20/solid";
type Props = {
block: IPageBlock;