Skip to content

Commit 2c3a237

Browse files
committed
Odd linebreaks on certain devices
1 parent 38590e1 commit 2c3a237

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ function ToolboxCard({
9898
return (
9999
<Link href={link} passHref>
100100
<div
101-
css={tw`p-3 rounded-2xl bg-white/10 hover:bg-white/20 text-white hover:cursor-pointer width[15rem] max-w-full break-words min-height[12rem] w-56 block grid grid-cols-1 place-items-center mix-blend-multiply`}
101+
css={tw`gap-0.5 p-3 rounded-2xl bg-white/10 hover:bg-white/20 text-white hover:cursor-pointer width[15rem] max-w-full break-words min-height[12rem] w-56 block grid grid-cols-1 place-items-center mix-blend-multiply`}
102102
>
103103
<FontAwesomeIcon icon={icon} size={"3x"} />
104-
<p css={tw`font-bold text-lg margin-bottom[-1rem]`}>{name}</p>
105-
<p css={tw`text-center text-sm margin-top[-0.5rem]`}>{description}</p>
104+
<p css={tw`font-bold text-lg`}>{name}</p>
105+
<p css={tw`text-center text-sm`}>{description}</p>
106106
</div>
107107
</Link>
108108
);

0 commit comments

Comments
 (0)