diff --git a/enshi/src/Components/ArticleViewer/ArticleViewer.tsx b/enshi/src/Components/ArticleViewer/ArticleViewer.tsx index 5933257..fee31f7 100644 --- a/enshi/src/Components/ArticleViewer/ArticleViewer.tsx +++ b/enshi/src/Components/ArticleViewer/ArticleViewer.tsx @@ -1,4 +1,4 @@ -import { Box, Container, Flex, Separator, Text } from "@radix-ui/themes"; +import { Box, Flex, ScrollArea, Separator, Text } from "@radix-ui/themes"; import { useQuery } from "@tanstack/react-query"; import { Interweave } from "interweave"; import { useAtomValue } from "jotai"; @@ -35,48 +35,42 @@ export default function ArticleViewer(props: TArticleViewer) { if (isPending) return ; return ( - <> - -
- - - - {data.title} - - - - + + + + {data.title} + + + + - + - - - - - - {user ? : null} - + - - - -
-
- + + + + {user ? : null} + + + + + + + ); } diff --git a/enshi/src/Components/NavBar/NavBar.tsx b/enshi/src/Components/NavBar/NavBar.tsx index 2da0a09..2416047 100644 --- a/enshi/src/Components/NavBar/NavBar.tsx +++ b/enshi/src/Components/NavBar/NavBar.tsx @@ -6,7 +6,7 @@ import SearchField from "./SearchField/SearchField"; export default function NavBar() { return ( -