From a70a74fc891549ee94e1506edc85bf79bd8cff09 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Wed, 20 May 2015 14:38:11 +0100 Subject: [PATCH] Issue #2486453 by LewisNyman, sqndr, heatherwoz, hylid, yoroy, Bojhan: Set maximum width on Seven --- core/themes/seven/css/components/tabs.css | 4 ++-- core/themes/seven/css/layout/layout.css | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/core/themes/seven/css/components/tabs.css b/core/themes/seven/css/components/tabs.css index 23c4a48de453..1aade551562f 100644 --- a/core/themes/seven/css/components/tabs.css +++ b/core/themes/seven/css/components/tabs.css @@ -21,8 +21,8 @@ /* Span the full width of the viewport */ .content-header .is-horizontal .tabs:before, .content-header .is-collapse-enabled .tabs:before { - left: -2.5em; - right: -2.5em; + left: -99em; + right: -99em; } /** diff --git a/core/themes/seven/css/layout/layout.css b/core/themes/seven/css/layout/layout.css index eb7c2bf0b365..2744910fe1ae 100644 --- a/core/themes/seven/css/layout/layout.css +++ b/core/themes/seven/css/layout/layout.css @@ -4,3 +4,10 @@ .page-content { margin-bottom: 80px; } + +@media all and (min-width: 75em) { + .layout-container { + width: 1170px; + margin: 0 auto; + } +} -- GitLab