diff --git a/libs/components/src/app-shell/app-shell.scss b/libs/components/src/app-shell/app-shell.scss
index 3fea64519..82f686212 100644
--- a/libs/components/src/app-shell/app-shell.scss
+++ b/libs/components/src/app-shell/app-shell.scss
@@ -70,6 +70,17 @@
overflow: auto;
transition: margin 200ms ease-in-out;
+ .main-wrapper {
+ margin: 0 auto;
+ max-width: 1200px;
+
+ .cov-content--full-width & {
+ margin: 0;
+ width: 100%;
+ max-width: 100%;
+ }
+ }
+
cv-card {
margin: 0 12px 12px;
display: block;
@@ -94,6 +105,12 @@
margin-right: 320px;
}
}
+
+ @media only screen and (max-width: 1600px) {
+ .main-wrapper {
+ max-width: 960px;
+ }
+ }
}
.help {
diff --git a/libs/components/src/app-shell/app-shell.stories.js b/libs/components/src/app-shell/app-shell.stories.js
index 2a8e0a1bd..3a4683c72 100644
--- a/libs/components/src/app-shell/app-shell.stories.js
+++ b/libs/components/src/app-shell/app-shell.stories.js
@@ -21,6 +21,7 @@ export default {
title: 'Patterns/App Shell',
args: {
contained: true,
+ fullWidth: false,
},
argTypes: {
navClick: { action: 'clicked' },
@@ -51,6 +52,7 @@ const Template = ({
sectionTitle = '',
forcedOpen = false,
contained = true,
+ fullWidth = false,
}) => {
document.addEventListener(
'DOMContentLoaded',
@@ -99,6 +101,7 @@ const Template = ({
${sectionTitle ? `sectionName="${sectionTitle}"` : ''}
${forcedOpen ? `forcedOpen open` : ''}
${contained ? `contained` : ''}
+ ${fullWidth ? `fullWidth` : ''}
>