fix(reader): use full chapter width with workflow rail
This commit is contained in:
@@ -4,6 +4,7 @@ import ReaderNav from "../../components/reader/ReaderNav";
|
|||||||
import ReaderFooter from "../../components/reader/ReaderFooter";
|
import ReaderFooter from "../../components/reader/ReaderFooter";
|
||||||
import WorkflowBlock from "../../components/reader/WorkflowBlock";
|
import WorkflowBlock from "../../components/reader/WorkflowBlock";
|
||||||
import ChapterOutline from "../../components/reader/ChapterOutline";
|
import ChapterOutline from "../../components/reader/ChapterOutline";
|
||||||
|
import WorkflowRail from "../../components/reader/WorkflowRail";
|
||||||
import useActivation from "../../components/reader/useActivation";
|
import useActivation from "../../components/reader/useActivation";
|
||||||
import { CHAPTER, RECIPES, buildOutline } from "../../data/sample-chapter";
|
import { CHAPTER, RECIPES, buildOutline } from "../../data/sample-chapter";
|
||||||
|
|
||||||
@@ -47,7 +48,7 @@ export default function RealEstateChapter() {
|
|||||||
|
|
||||||
<main>
|
<main>
|
||||||
<article className="chapter-page">
|
<article className="chapter-page">
|
||||||
<div className="wrap chapter-shell">
|
<div className="wrap reader-wide chapter-shell">
|
||||||
<ChapterOutline
|
<ChapterOutline
|
||||||
groups={outline}
|
groups={outline}
|
||||||
complete={complete}
|
complete={complete}
|
||||||
@@ -183,6 +184,8 @@ export default function RealEstateChapter() {
|
|||||||
<p className="chapter-updated">Last updated: {CHAPTER.lastUpdated}</p>
|
<p className="chapter-updated">Last updated: {CHAPTER.lastUpdated}</p>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<WorkflowRail recipes={RECIPES} complete={complete} total={total} />
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
Reference in New Issue
Block a user