We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0680377 commit 2eebcb6Copy full SHA for 2eebcb6
src/components/Card.tsx
@@ -28,9 +28,7 @@ const Card: React.FC<IProps> = ({
28
className={className}
29
>
30
<div>
31
- {emoji && (
32
- <Emoji fontSize="5xl" text={emoji} mb={4} display="inline-block" />
33
- )}
+ {emoji && <Emoji fontSize="5xl" text={emoji} mb={4} />}
34
{title && (
35
<Heading as="h3" mt={0} fontSize="2xl" lineHeight={1.4}>
36
{title}
src/components/Emoji.tsx
@@ -24,7 +24,7 @@ const Emoji = (props: IProps) => {
24
// avoid differences in SSR
25
options={{ protocol: IS_DEV ? "http" : "https" }}
26
svg
27
- d="inline-block"
+ display="inline-block"
{...props}
/>
)
0 commit comments