diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/fixmystreet/fixmystreet.js | 1 | ||||
-rw-r--r-- | web/cobrands/sass/_base.scss | 11 | ||||
-rw-r--r-- | web/cobrands/warwickshire/layout.scss | 1 |
3 files changed, 11 insertions, 2 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js index 492f8b194..121b66d5d 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -520,7 +520,6 @@ $.fn.drawer = function(id, ajax) { url: '/country_message', success: function(data) { if ( data ) { - $('#site-header').css('position', 'relative'); $('body').prepend(data); $('#country_banner').slideDown('slow'); } 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 { diff --git a/web/cobrands/warwickshire/layout.scss b/web/cobrands/warwickshire/layout.scss index 9ddba0721..e1d34cee6 100644 --- a/web/cobrands/warwickshire/layout.scss +++ b/web/cobrands/warwickshire/layout.scss @@ -45,6 +45,7 @@ body.mappage { padding: 0; width: auto; display: block; + position: relative; } } |