Fixed table of contents style
This commit is contained in:
parent
f3da97ffe8
commit
7a467e313b
|
@ -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>
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
.TableOfContentsFixedWrapper {
|
||||
min-height: 100%;
|
||||
top: 0;
|
||||
|
||||
&:not(.TableOfContentsFixedWrapperLefted) .TableOfContentsPrimaryButton {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
|
||||
.TableOfContentsFixedWrapperLefted {
|
||||
|
|
Loading…
Reference in New Issue
Block a user