Skip to content

Commit 405a50f

Browse files
committed
update hove styles
1 parent cf87221 commit 405a50f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/pages/developers/tutorials.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,13 +333,16 @@ const TutorialPage = ({
333333
{filteredTutorials.map((tutorial) => {
334334
return (
335335
<LinkFlex
336-
className="mb-px w-full flex-col justify-between border-b p-8 text-border no-underline duration-100 hover:rounded-sm hover:bg-background-low hover:shadow-table-box-hover"
336+
className="mb-px w-full flex-col justify-between border-b p-8 text-border no-underline duration-100 hover:bg-background-highlight"
337337
key={tutorial.href}
338338
href={tutorial.href ?? undefined}
339339
>
340340
<Flex className="mb-8 flex-col items-start justify-between gap-y-4 md:-mb-4 md:flex-row">
341341
<Text
342-
className={`relative me-0 text-2xl font-semibold text-body after:ml-2 after:inline-block after:italic after:transition-all after:duration-100 after:ease-in-out after:content-['↗'] md:me-24 ${tutorial.isExternal ? "after:inline-block" : "after:hidden"}`}
342+
className={cn(
343+
"relative me-0 text-2xl font-semibold text-body after:ml-2 after:inline-block after:italic after:transition-all after:duration-100 after:ease-in-out after:content-['↗'] md:me-24",
344+
tutorial.isExternal ? "after:inline-block" : "after:hidden"
345+
)}
343346
>
344347
{tutorial.title}
345348
</Text>

0 commit comments

Comments
 (0)