Skip to content

Commit 0fabf04

Browse files
committed
Fix two more visual regressions
Caused by withastro/compiler#852
1 parent 3854f27 commit 0fabf04

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pages/achievements/[groupID]/[class].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const { title, details, contributors, class: cls, repo } = Astro.props;
4141
class:list={[
4242
'inline-block w-[.75em] h-[.75em] mr-0.5 rounded-full translate-y-px',
4343
achievementClassGradient(cls),
44-
]}></span>
44+
]}></span>{' '}
4545
<span class:list={[achievementClassGradientText(cls)]}>
4646
{title}
4747
</span>

src/pages/contributor/[username].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const htmlSnippet = `<a href="${Astro.url.href}">\n <img src="${Astro.site}v2/c
8989
<div class="flex flex-col gap-1">
9090
<h3 class="font-semibold text-2xl shrink-0">
9191
<a href={`/achievements/${group.groupID}/${achievementClassSlug(group.class)}/`}>
92-
<span class:list={["inline-block w-4 h-4 mr-1 rounded-full -translate-y-px", achievementClassGradient(group.class)]} />
92+
<span class:list={["inline-block w-4 h-4 mr-1 rounded-full -translate-y-px", achievementClassGradient(group.class)]} />{' '}
9393
<span class:list={[achievementClassGradientText(group.class)]}>
9494
{title}
9595
</span>

0 commit comments

Comments
 (0)