DEV: Update toc-timeline.gjs (#84)
Add class to body when d-toc is installed, even when it isnt rendered.
This commit is contained in:
parent
17aa48f5c6
commit
016cfcfd7a
|
@ -64,6 +64,7 @@ export default class TocTimeline extends Component {
|
|||
{{didUpdate this.handleTimelineUpdate @renderTimeline}}
|
||||
class="d-toc-main"
|
||||
>
|
||||
{{bodyClass "d-toc-installed"}}
|
||||
{{#if this.shouldRenderToc}}
|
||||
{{#unless this.isTopicProgress}}
|
||||
{{bodyClass "d-toc-active"}}
|
||||
|
|
Loading…
Reference in New Issue