Numbered Cards small breakpoint

This commit is contained in:
adilallo
2025-08-15 19:08:35 -06:00
parent a6add70067
commit 6b214f2711
3 changed files with 12 additions and 12 deletions
+4 -4
View File
@@ -6,15 +6,15 @@ import Button from "./Button";
const NumberedCards = ({ title, subtitle, cards }) => {
return (
<section className="bg-transparent py-8 px-5">
<section className="bg-transparent py-8 px-5 sm:py-12 sm:px-8">
<div className="max-w-[var(--spacing-measures-max-width-lg)] mx-auto">
{/* Section Header */}
<div className="mb-8">
<div className="mb-8 sm:mb-8">
<SectionHeader title={title} subtitle={subtitle} />
</div>
{/* Cards Container */}
<div className="space-y-8">
<div className="space-y-8 sm:space-y-8">
{cards.map((card, index) => (
<NumberedCard
key={index}
@@ -27,7 +27,7 @@ const NumberedCards = ({ title, subtitle, cards }) => {
</div>
{/* Call to Action Button */}
<div className="text-center mt-8">
<div className="text-center mt-8 sm:text-left sm:mt-8">
<Button variant="default" size="large">
Create CommunityRule
</Button>