Skip to content

Commit 27e3bb4

Browse files
fix small nits
1 parent 18adb65 commit 27e3bb4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/components/command-menu/index.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,11 @@ export function CommandMenu() {
106106
<CommandContext.Provider value={values}>
107107
<CommandDialog open={open} onOpenChange={setOpen}>
108108
<CommandInput
109-
placeholder="Type a command or search for documents"
109+
placeholder={
110+
currentPage === "docs"
111+
? "Search docs..."
112+
: "Search for a command..."
113+
}
110114
currentPage={currentPage}
111115
value={value}
112116
onKeyDown={onKeyDown}

src/components/sidebar.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export function SiblingDoc({
155155
alignOffset={8}
156156
side={direction === "prev" ? "right" : "left"}
157157
align="start"
158-
className="max-h-[360px]"
158+
className="max-h-[360px] overflow-y-scroll"
159159
>
160160
<Island lazy>
161161
<RichText content={doc.content} />

0 commit comments

Comments
 (0)