From 661b3c6e058343e651793964d9ad59a791e0f8ff Mon Sep 17 00:00:00 2001 From: adilallo <39313955+adilallo@users.noreply.github.com> Date: Sat, 23 Aug 2025 22:25:57 -0600 Subject: [PATCH] Rule Stack md breakpoint --- app/components/RuleCard.js | 12 ++++++------ app/components/RuleStack.js | 8 ++++++-- app/components/SectionHeader.js | 8 ++++---- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/app/components/RuleCard.js b/app/components/RuleCard.js index 5da073e..b70bcd7 100644 --- a/app/components/RuleCard.js +++ b/app/components/RuleCard.js @@ -9,27 +9,27 @@ const RuleCard = ({ }) => { return (
{/* Header Container */} -
+
{/* Icon Container */} {icon && ( -
+
{icon}
)} {/* Title Container */} {title && ( -
-

+
+

{title}

)}

{description && ( -

+

{description}

)} diff --git a/app/components/RuleStack.js b/app/components/RuleStack.js index 2efc5b9..d1c5dd0 100644 --- a/app/components/RuleStack.js +++ b/app/components/RuleStack.js @@ -8,12 +8,12 @@ import Image from "next/image"; const RuleStack = ({ children, className = "" }) => { return (
{ alt="Sociocracy" width={40} height={40} + className="md:w-[56px] md:h-[56px]" /> } backgroundColor="bg-[var(--color-surface-default-brand-lime)]" @@ -38,6 +39,7 @@ const RuleStack = ({ children, className = "" }) => { alt="Consensus" width={40} height={40} + className="md:w-[56px] md:h-[56px]" /> } backgroundColor="bg-[var(--color-surface-default-brand-rust)]" @@ -51,6 +53,7 @@ const RuleStack = ({ children, className = "" }) => { alt="Elected Board" width={40} height={40} + className="md:w-[56px] md:h-[56px]" /> } backgroundColor="bg-[var(--color-surface-default-brand-red)]" @@ -64,6 +67,7 @@ const RuleStack = ({ children, className = "" }) => { alt="Petition" width={40} height={40} + className="md:w-[56px] md:h-[56px]" /> } backgroundColor="bg-[var(--color-surface-default-brand-teal)]" diff --git a/app/components/SectionHeader.js b/app/components/SectionHeader.js index 7345db5..11ab930 100644 --- a/app/components/SectionHeader.js +++ b/app/components/SectionHeader.js @@ -7,8 +7,8 @@ const SectionHeader = ({ title, subtitle, titleLg, variant = "default" }) => {

@@ -21,8 +21,8 @@ const SectionHeader = ({ title, subtitle, titleLg, variant = "default" }) => {