Skip to content

Commit 0680377

Browse files
committed
fix comments
1 parent 6978de9 commit 0680377

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/Card.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { ReactNode } from "react"
2+
import { Flex, Heading, Text } from "@chakra-ui/react"
23
import Emoji from "./Emoji"
3-
import { Flex, Text } from "@chakra-ui/react"
44

55
export interface IProps {
66
children?: React.ReactNode
@@ -20,7 +20,7 @@ const Card: React.FC<IProps> = ({
2020
<Flex
2121
direction="column"
2222
bg="ednBackground"
23-
borderRadius="2px"
23+
borderRadius="sm"
2424
border="1px"
2525
borderStyle="solid"
2626
borderColor="lightBorder"
@@ -32,9 +32,9 @@ const Card: React.FC<IProps> = ({
3232
<Emoji fontSize="5xl" text={emoji} mb={4} display="inline-block" />
3333
)}
3434
{title && (
35-
<Text as="h3" mt={0}>
35+
<Heading as="h3" mt={0} fontSize="2xl" lineHeight={1.4}>
3636
{title}
37-
</Text>
37+
</Heading>
3838
)}
3939
{description && (
4040
<Text opacity={0.8} m={0}>

0 commit comments

Comments
 (0)