Skip to content

Commit

Permalink
feat: ステップ実行中だけ「ステップ実行モード」というラベルを付ける (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
hishiwat authored Sep 26, 2024
1 parent b2910e8 commit f12cdc7
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
Card,
Heading,
HStack,
Tag,
Tooltip,
useDisclosure,
VStack,
Expand Down Expand Up @@ -115,7 +116,14 @@ export const ProblemBody: React.FC<Props> = (props) => {
<VStack align="stretch" flexBasis={0} flexGrow={1} minW={0} spacing={4}>
<VStack align="stretch" as={Card} overflow="hidden" spacing={0}>
<VStack align="stretch" borderBottomWidth="1px" p={5}>
<Heading size="md">問題</Heading>
<HStack>
<Heading size="md">問題</Heading>
{problemType === 'step' && (
<Tag colorScheme="brand" fontWeight="bold" size="sm" variant="solid">
ステップ実行モード
</Tag>
)}
</HStack>

<div>
<Box as="span" fontWeight="bold">
Expand Down

0 comments on commit f12cdc7

Please sign in to comment.