aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-08-07 18:21:35 +0100
committerMatthew Somerville <matthew@mysociety.org>2019-09-19 13:48:23 +0100
commit5353decc4436e4ae5d1fcf630f09d2c206df1f3e (patch)
treeb9e6ac8b9bdd948de505f318e60038485e7b93a1
parentd669a7b97ef7ef12e0acae8d2856ea97419a5e4a (diff)
Use container-max-width in front page container.
-rw-r--r--web/cobrands/sass/_layout.scss4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss
index b27305d31..b9e1e47f6 100644
--- a/web/cobrands/sass/_layout.scss
+++ b/web/cobrands/sass/_layout.scss
@@ -11,6 +11,8 @@ $mappage-actions-width--medium: 20em;
$header-top-border-width: 0.25em !default;
$header-top-border: $header-top-border-width solid $primary !default;
+$container-max-width: 60em !default;
+
.internal-link-fixed-header {
display: block;
position: relative;
@@ -824,7 +826,7 @@ textarea.form-error {
margin: 0;
padding: 1em;
#front-main-container {
- max-width: 60em;
+ max-width: $container-max-width;
margin: 0 auto;
}
h2 {