Rule Stack xmd breakpoint
This commit is contained in:
@@ -8,14 +8,14 @@ import Image from "next/image";
|
|||||||
const RuleStack = ({ children, className = "" }) => {
|
const RuleStack = ({ children, className = "" }) => {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
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}`}
|
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)] xmd:py-[var(--spacing-scale-056)] xmd:px-[var(--spacing-scale-032)] flex flex-col gap-[var(--spacing-scale-024)] xmd:gap-[var(--spacing-scale-032)] ${className}`}
|
||||||
>
|
>
|
||||||
<SectionHeader
|
<SectionHeader
|
||||||
title="Popular templates"
|
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."
|
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="multi-line"
|
variant="multi-line"
|
||||||
/>
|
/>
|
||||||
<div className="flex flex-col gap-[18px]">
|
<div className="flex flex-col gap-[18px] xmd:grid xmd:grid-cols-2">
|
||||||
<RuleCard
|
<RuleCard
|
||||||
title="Consensus clusters"
|
title="Consensus clusters"
|
||||||
description="Units called Circles have the ability to decide and act on matters in their domains, which their members agree on through a Council."
|
description="Units called Circles have the ability to decide and act on matters in their domains, which their members agree on through a Council."
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
--breakpoint-xsm: 429px;
|
--breakpoint-xsm: 429px;
|
||||||
--breakpoint-sm: 430px;
|
--breakpoint-sm: 430px;
|
||||||
--breakpoint-md: 640px;
|
--breakpoint-md: 640px;
|
||||||
|
--breakpoint-xmd: 768px;
|
||||||
--breakpoint-lg: 1024px;
|
--breakpoint-lg: 1024px;
|
||||||
--breakpoint-xl: 1440px;
|
--breakpoint-xl: 1440px;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user