Skip to content

Commit

Permalink
feat: add greater than label and set clickable on expect
Browse files Browse the repository at this point in the history
  • Loading branch information
geoje committed Nov 6, 2024
1 parent 3c77272 commit 3c64e80
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions frontend/src/pages/enhance/6-execute/potential/autoModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import {
ModalOverlay,
Spacer,
Stack,
Tag,
TagLabel,
Text,
Tooltip,
} from "@chakra-ui/react";
Expand Down Expand Up @@ -161,15 +159,10 @@ export default function AutoModal({
</Box>
}
>
<Tag size="xs" px={1} py={0.5}>
<Button size="xs" h={5} px={1} py={0} cursor="default">
<Image src={getPotentialIcon(grade)} pr={1} />
<TagLabel
fontSize="var(--chakra-fontSizes-xs)"
cursor="default"
>
{readablecount}
</TagLabel>
</Tag>
{readablecount}
</Button>
</Tooltip>
);
}
Expand Down Expand Up @@ -244,6 +237,9 @@ export default function AutoModal({
onUpdate({ name: condition.name, value, grades }, i);
}}
/>
<Text pl={4} pt={1} fontSize="small">
이상
</Text>
</Box>
</Flex>
))}
Expand Down

0 comments on commit 3c64e80

Please sign in to comment.