File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
apps/desktop/layer/renderer/src/modules/new-user-guide Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
1
import { Logo } from "@follow/components/icons/logo.jsx"
2
2
import { Button } from "@follow/components/ui/button/index.js"
3
3
import { Kbd } from "@follow/components/ui/kbd/Kbd.js"
4
+ import { ScrollArea } from "@follow/components/ui/scroll-area/index.js"
4
5
import { tracker } from "@follow/tracker"
5
6
import { cn } from "@follow/utils/utils"
6
7
import { AnimatePresence , m } from "motion/react"
@@ -188,13 +189,15 @@ export function GuideModalContent({ onClose }: { onClose: () => void }) {
188
189
) }
189
190
</ div >
190
191
) }
191
- { status === "initial" ? (
192
- < Intro />
193
- ) : status === "active" ? (
194
- guideSteps [ step - 1 ] ! . content
195
- ) : status === "complete" ? (
196
- < Outtro />
197
- ) : null }
192
+ < ScrollArea . ScrollArea viewportClassName = "px-6" >
193
+ { status === "initial" ? (
194
+ < Intro />
195
+ ) : status === "active" ? (
196
+ guideSteps [ step - 1 ] ! . content
197
+ ) : status === "complete" ? (
198
+ < Outtro />
199
+ ) : null }
200
+ </ ScrollArea . ScrollArea >
198
201
</ m . div >
199
202
</ AnimatePresence >
200
203
</ div >
You can’t perform that action at this time.
0 commit comments