Content Lockup button fixed

This commit is contained in:
adilallo
2025-08-19 23:16:13 -06:00
parent 445e812e9c
commit 6e274124c3
3 changed files with 35 additions and 6 deletions
+25
View File
@@ -33,6 +33,11 @@ export default {
control: { type: "text" },
description: "The call-to-action button link",
},
buttonClassName: {
control: { type: "text" },
description:
"Additional CSS classes to apply to the large button (md/lg breakpoints)",
},
},
tags: ["autodocs"],
};
@@ -90,3 +95,23 @@ export const ShortContent = {
},
},
};
export const CustomButtonStyling = {
args: {
title: "Collaborate",
subtitle: "with clarity",
description:
"Help your community make important decisions in a way that reflects its unique values.",
ctaText: "Learn how Community Rule works",
ctaHref: "#",
buttonClassName: "shrink-0 whitespace-nowrap min-w-[280px]",
},
parameters: {
docs: {
description: {
story:
"Content lockup with custom button styling applied to the large button (md/lg breakpoints).",
},
},
},
};