Fixed table of contents style

This commit is contained in:
kvakazyambra 2023-08-25 00:19:26 +03:00
parent f3da97ffe8
commit 7a467e313b
2 changed files with 8 additions and 1 deletions

View File

@ -277,8 +277,11 @@ export const FullArticle = (props: Props) => {
</div>
</Show>
</article>
<Show when={isDesktop() && body()}>
<TableOfContents variant="article" parentSelector="#shoutBody" body={body()} />
<div class="col-md-6 offset-md-1">
<TableOfContents variant="article" parentSelector="#shoutBody" body={body()} />
</div>
</Show>
</div>
</div>

View File

@ -1,6 +1,10 @@
.TableOfContentsFixedWrapper {
min-height: 100%;
top: 0;
&:not(.TableOfContentsFixedWrapperLefted) .TableOfContentsPrimaryButton {
transform: rotate(180deg);
}
}
.TableOfContentsFixedWrapperLefted {