Skip to content

Commit

Permalink
Update height of Box component in CheckpointProblem.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatehito committed Feb 6, 2024
1 parent 47c5791 commit 9604ca5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ export const CheckpointProblem: React.FC<CheckpointProblemProps> = ({ problemId
</VStack>
<VStack align="end" minW="50%" overflow="hidden">
<Button colorScheme="gray">解説</Button>
{/* 画面に収まる高さに設定 */}
<Box h="calc(100vh - 370px)" w="100%">
<Box h="840px" w="100%">
<SyntaxHighlighter
beforeCheckPointLine={beforeCheckPointLine}
code={problemProgram}
Expand Down

0 comments on commit 9604ca5

Please sign in to comment.