Fixed table of contents style
This commit is contained in:
parent
f3da97ffe8
commit
7a467e313b
|
@ -277,8 +277,11 @@ export const FullArticle = (props: Props) => {
|
||||||
</div>
|
</div>
|
||||||
</Show>
|
</Show>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<Show when={isDesktop() && body()}>
|
<Show when={isDesktop() && body()}>
|
||||||
|
<div class="col-md-6 offset-md-1">
|
||||||
<TableOfContents variant="article" parentSelector="#shoutBody" body={body()} />
|
<TableOfContents variant="article" parentSelector="#shoutBody" body={body()} />
|
||||||
|
</div>
|
||||||
</Show>
|
</Show>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
.TableOfContentsFixedWrapper {
|
.TableOfContentsFixedWrapper {
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
||||||
|
&:not(.TableOfContentsFixedWrapperLefted) .TableOfContentsPrimaryButton {
|
||||||
|
transform: rotate(180deg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.TableOfContentsFixedWrapperLefted {
|
.TableOfContentsFixedWrapperLefted {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user