Rule Stack md breakpoint
This commit is contained in:
@@ -8,12 +8,12 @@ import Image from "next/image";
|
||||
const RuleStack = ({ children, className = "" }) => {
|
||||
return (
|
||||
<div
|
||||
className={`w-full bg-transparent py-[var(--spacing-scale-032)] px-[var(--spacing-scale-020)] flex flex-col gap-[var(--spacing-scale-024)] ${className}`}
|
||||
className={`w-full bg-transparent py-[var(--spacing-scale-032)] px-[var(--spacing-scale-020)] md:py-[var(--spacing-scale-048)] md:px-[var(--spacing-scale-032)] flex flex-col gap-[var(--spacing-scale-024)] ${className}`}
|
||||
>
|
||||
<SectionHeader
|
||||
title="Popular templates"
|
||||
subtitle="These are popular patterns for making decisions in mutual aid and open source communities. You can use them as they are or as a starting place for customizing your own CommunityRule."
|
||||
variant="small"
|
||||
variant="multi-line"
|
||||
/>
|
||||
<div className="flex flex-col gap-[18px]">
|
||||
<RuleCard
|
||||
@@ -25,6 +25,7 @@ const RuleStack = ({ children, className = "" }) => {
|
||||
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)]"
|
||||
|
||||
Reference in New Issue
Block a user