From 7a467e313baf431f456fc15a16c45f5fbfc7deac Mon Sep 17 00:00:00 2001 From: kvakazyambra Date: Fri, 25 Aug 2023 00:19:26 +0300 Subject: [PATCH] Fixed table of contents style --- src/components/Article/FullArticle.tsx | 5 ++++- src/components/TableOfContents/TableOfContents.module.scss | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/Article/FullArticle.tsx b/src/components/Article/FullArticle.tsx index f8812e8d..234ac307 100644 --- a/src/components/Article/FullArticle.tsx +++ b/src/components/Article/FullArticle.tsx @@ -277,8 +277,11 @@ export const FullArticle = (props: Props) => { + - +
+ +
diff --git a/src/components/TableOfContents/TableOfContents.module.scss b/src/components/TableOfContents/TableOfContents.module.scss index 36332850..29afacf1 100644 --- a/src/components/TableOfContents/TableOfContents.module.scss +++ b/src/components/TableOfContents/TableOfContents.module.scss @@ -1,6 +1,10 @@ .TableOfContentsFixedWrapper { min-height: 100%; top: 0; + + &:not(.TableOfContentsFixedWrapperLefted) .TableOfContentsPrimaryButton { + transform: rotate(180deg); + } } .TableOfContentsFixedWrapperLefted {