We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc75811 commit b41b8a2Copy full SHA for b41b8a2
apps/web/components/ArticleToolbar/index.tsx
@@ -64,7 +64,13 @@ export function ArticleToolbar({
64
};
65
66
return (
67
- <div className="space-y-4">
+ <div className="flex flex-col gap-4">
68
+ {mode !== "focus" && hasHeadings && (
69
+ <div className="order-first md:order-last">
70
+ <TableOfContents headings={headings} />
71
+ </div>
72
+ )}
73
+
74
<div className="flex w-full">
75
{hasAudio && (
76
<ModeButton
@@ -89,8 +95,6 @@ export function ArticleToolbar({
89
95
)}
90
96
91
97
{mode === "focus" && <FocusPanel controller={speedReaderController} />}
92
-
93
- {mode !== "focus" && hasHeadings && <TableOfContents headings={headings} />}
94
98
</div>
99
);
100
}
0 commit comments