Skip to content

Commit a40820c

Browse files
committed
show scroll bars when needed
1 parent 467125a commit a40820c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/command-palette.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export const CommandPalette = () => {
170170
}),
171171
]}
172172
editable={false}
173-
className="prose-sm rounded-md editor border-gray-subtle border overflow-scroll max-h-96"
173+
className="prose-sm rounded-md editor border-gray-subtle border overflow-auto max-h-96"
174174
value={response}
175175
/>
176176
<div className="flex justify-end space-x-2">

src/components/results.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const Results = () => {
4242
return (
4343
<>
4444
{queryResult ? (
45-
<div className="mx-3 inline-block py-2 align-middle">
45+
<div className="mx-3 inline-block py-2 align-middle overflow-auto">
4646
<div className="flex flex-1 flex-col items-center justify-center space-y-3">
4747
<Table>
4848
<TableHeader>

0 commit comments

Comments
 (0)