Skip to content

Commit

Permalink
Merge pull request #15 from AI4Bharat/react-django
Browse files Browse the repository at this point in the history
Fixed Code Overflow
  • Loading branch information
Shanks0465 authored Sep 1, 2024
2 parents 5818587 + e61c099 commit 4fb191b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion frontend/components/ToolInstructionComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ export default function ToolInstructions({
direction={{ base: "column", md: "row" }}
spacing={{ base: 0, md: 3 }}
>
<VStack spacing={4} alignItems="flex-start" mb={{ base: 5, md: 0 }}>
<VStack
overflowY={"scroll"}
spacing={4}
alignItems="flex-start"
mb={{ base: 5, md: 0 }}
>
{steps.map((data, index) => (
<Box key={index}>
<HStack spacing={2}>
Expand All @@ -60,6 +65,7 @@ export default function ToolInstructions({
p={5}
fontSize="sm"
color="gray.500"
textOverflow={"clip"}
>
{data.codeString}
</Code>
Expand Down

0 comments on commit 4fb191b

Please sign in to comment.