From f475fb1aaf612b08103225db32fd63b47c980f2e Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 18 Dec 2015 11:42:05 +0000 Subject: Stop top banner overlapping header contents. Warwickshire has position:relative always set on .wrapper, so make sure that's maintained on map apges. --- web/cobrands/sass/_base.scss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'web/cobrands/sass/_base.scss') diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss index 621eabd11..2a2a40a16 100644 --- a/web/cobrands/sass/_base.scss +++ b/web/cobrands/sass/_base.scss @@ -536,8 +536,17 @@ p.label-valid { .wrapper { width:100%; display:table; - caption-side:bottom; + // The 'caption' at large widths will be top, moving the menu up magically + caption-side: bottom; + // This is so absolutely positioned header stuff doesn't overlap banner... + position: relative; +} +// ...however position: relative stops the map being clickable (?), so better +// revert it there +body.mappage .wrapper { + position: static; } + // this is the user's logged in details or the login link etc #user-meta { p { -- cgit v1.2.3