diff --git a/components/layouts/layouts.tsx b/components/layouts/layouts.tsx index 2af8fcd..8e6351f 100644 --- a/components/layouts/layouts.tsx +++ b/components/layouts/layouts.tsx @@ -3,5 +3,5 @@ export const Page = ({ children }: { children: React.ReactNode }) => { }; export const ContentContainer = ({ children }: { children: React.ReactNode }) => { - return
{children}
; + return
{children}
; }; diff --git a/components/readerpage/DrawerTOC.tsx b/components/readerpage/DrawerTOC.tsx index b0c469a..5e3f117 100644 --- a/components/readerpage/DrawerTOC.tsx +++ b/components/readerpage/DrawerTOC.tsx @@ -12,7 +12,7 @@ export const DrawerTOC = (props: { data: TTOCItem[] }) => { title="Open the table of contents" className="bottom-7 right-4 fixed bg-white dark:bg-black border-gray-700 border dark:border-gray-500 shadow-xl" > -
setIsTOCOpen(!isTOCOpen)} className="p-3 font-bold"> +
setIsTOCOpen(!isTOCOpen)} className="p-2 font-bold"> {"TOC"}
@@ -20,7 +20,7 @@ export const DrawerTOC = (props: { data: TTOCItem[] }) => { {"TABLE OF CONTENTS"} -