Skip to content

Commit a791339

Browse files
fix: set max-content-width 1440px on all content-layout instances
1 parent 48e937f commit a791339

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/pages/components/[name].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const breadcrumbs = [
2222
];
2323
---
2424
<BaseLayout title={title} breadcrumbs={breadcrumbs} activeComponentId={comp.id}>
25-
<cs-content-layout default-padding>
25+
<cs-content-layout default-padding max-content-width="1440">
2626
<cs-header slot="header" variant="h1" description={`${comp.data.description} — <cs-${comp.data.component}>`}>
2727
{title}
2828
</cs-header>

src/pages/components/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const breadcrumbs = [
1010
];
1111
---
1212
<BaseLayout title="Components" breadcrumbs={breadcrumbs}>
13-
<cs-content-layout default-padding>
13+
<cs-content-layout default-padding max-content-width="1440">
1414
<cs-header slot="header" variant="h1" description={`${components.length} components available.`}>
1515
Components
1616
</cs-header>

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const components = await getCollection('components');
66
const breadcrumbs = [{ text: 'Home', href: '/' }];
77
---
88
<BaseLayout title="Home" breadcrumbs={breadcrumbs} disableContentPaddings>
9-
<cs-content-layout default-padding header-variant="high-contrast" header-background-style="linear-gradient(135deg, #0f1b2d 0%, #232f3e 50%, #1a3a5c 100%)">
9+
<cs-content-layout default-padding max-content-width="1440" header-variant="high-contrast" header-background-style="linear-gradient(135deg, #0f1b2d 0%, #232f3e 50%, #1a3a5c 100%)">
1010
<div slot="header" class="hero">
1111
<cs-space-between size="xs" direction="vertical">
1212
<h1 class="hero-title">Cumulus UI</h1>

0 commit comments

Comments
 (0)