forked from github/plane
added min height for issue description in modal
This commit is contained in:
parent
6c9b31a2c4
commit
b86081d788
@ -35,8 +35,8 @@ import {
|
|||||||
import { SparklesIcon, XMarkIcon } from "@heroicons/react/24/outline";
|
import { SparklesIcon, XMarkIcon } from "@heroicons/react/24/outline";
|
||||||
// types
|
// types
|
||||||
import type { ICurrentUserResponse, IIssue, ISearchIssueResponse } from "types";
|
import type { ICurrentUserResponse, IIssue, ISearchIssueResponse } from "types";
|
||||||
// rich-text-editor
|
|
||||||
import Tiptap from "components/tiptap";
|
import Tiptap from "components/tiptap";
|
||||||
|
// rich-text-editor
|
||||||
|
|
||||||
const defaultValues: Partial<IIssue> = {
|
const defaultValues: Partial<IIssue> = {
|
||||||
project: "",
|
project: "",
|
||||||
@ -360,6 +360,7 @@ export const IssueForm: FC<IssueFormProps> = ({
|
|||||||
? watch("description_html")
|
? watch("description_html")
|
||||||
: value
|
: value
|
||||||
}
|
}
|
||||||
|
customClassName="min-h-[150px]"
|
||||||
onChange={(description: Object, description_html: string) => {
|
onChange={(description: Object, description_html: string) => {
|
||||||
onChange(description_html);
|
onChange(description_html);
|
||||||
setValue("description", description);
|
setValue("description", description);
|
||||||
|
Loading…
Reference in New Issue
Block a user