diff --git a/fundamentals/today-i-learned/src/pages/timeline/components/PostInput.tsx b/fundamentals/today-i-learned/src/pages/timeline/components/PostInput.tsx index 76fb0496..86c79c77 100644 --- a/fundamentals/today-i-learned/src/pages/timeline/components/PostInput.tsx +++ b/fundamentals/today-i-learned/src/pages/timeline/components/PostInput.tsx @@ -1,10 +1,10 @@ +import { css } from "@styled-system/css"; +import MDEditor from "@uiw/react-md-editor"; import * as React from "react"; +import type { GitHubAuthor } from "@/api/remote/discussions"; import { Avatar } from "@/components/shared/ui/Avatar"; import { Button } from "@/components/shared/ui/Button"; import { Input } from "@/components/shared/ui/Input"; -import MDEditor from "@uiw/react-md-editor"; -import type { GitHubAuthor } from "@/api/remote/discussions"; -import { css } from "@styled-system/css"; interface PostInputProps { user: GitHubAuthor; @@ -81,21 +81,20 @@ export function PostInput({ className={titleInputStyle} />
-
- -
+
@@ -220,17 +219,6 @@ const editorWrapper = css({ width: "100%" }); -const editorContainer = css({ - "& .w-md-editor": { - border: "none !important", - boxShadow: "none !important" - }, - "& .w-md-editor-text": { - padding: "0 !important", - height: "full" - } -}); - // Action Area const actionArea = css({ display: "flex",