Keep the workshops hero CTA hugging its label, matching Figma.

This commit is contained in:
adilallo committed 2026-11-20 19:41:10 -07:00
1 parent 81ad287c24
commit 6155087c95
2 files changed
+2 -1

No files matched your search

@@ -43,7 +43,7 @@ function WorkshopHeroView({ className = "" }: { className?: string }) {
{copy.body}
</p>
</div>
<Button href={href} size="small">
<Button href={href} size="small" className="self-start">
{copy.button}
</Button>
<p className="border-t border-[var(--color-border-default-secondary)] pt-6 text-[12px] leading-4 text-[var(--color-content-default-tertiary)]">
+1
View File
@@ -19,6 +19,7 @@ describe("Workshops page sections", () => {
for (const link of links) {
expect(link).toHaveAttribute("href", "#workshop-signup");
}
expect(links[0]).toHaveClass("self-start");
});
it("shows the full field set, one optional marker, and the settled challenge line", () => {