aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fixmystreet/base.scss2
-rw-r--r--web/cobrands/fixmystreet/fixmystreet.js12
-rw-r--r--web/cobrands/fixmystreet/layout.scss4
3 files changed, 15 insertions, 3 deletions
diff --git a/web/cobrands/fixmystreet/base.scss b/web/cobrands/fixmystreet/base.scss
index f95a4a7e9..04277d0b1 100644
--- a/web/cobrands/fixmystreet/base.scss
+++ b/web/cobrands/fixmystreet/base.scss
@@ -102,7 +102,7 @@ h1 {
font-size: 2em;
line-height: 1em;
font-weight: normal;
- margin-top: 0;
+ margin-top: 0.5em;
margin-bottom: 0.5em;
}
#front-main h1 {
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js
index c487ec227..316409ccc 100644
--- a/web/cobrands/fixmystreet/fixmystreet.js
+++ b/web/cobrands/fixmystreet/fixmystreet.js
@@ -441,8 +441,16 @@ $.fn.drawer = function(id, ajax) {
});
};
- $('#key-tool-wards').drawer('council_wards', false);
- $('#key-tool-around-updates').drawer('updates_ajax', true);
+ if ($('html.mobile').length) {
+ $('#council_wards').hide().removeClass('hidden-js').find('h2').hide();
+ $('#key-tool-wards').click(function(e){
+ e.preventDefault();
+ $('#council_wards').slideToggle();
+ });
+ } else {
+ $('#key-tool-wards').drawer('council_wards', false);
+ $('#key-tool-around-updates').drawer('updates_ajax', true);
+ }
$('#key-tool-report-updates').small_drawer('report-updates-data');
// Go directly to RSS feed if RSS button clicked on alert page
diff --git a/web/cobrands/fixmystreet/layout.scss b/web/cobrands/fixmystreet/layout.scss
index d1f4416b3..16432a360 100644
--- a/web/cobrands/fixmystreet/layout.scss
+++ b/web/cobrands/fixmystreet/layout.scss
@@ -15,6 +15,10 @@ body {
background: #1A1A1A url(images/tile.jpg) 0 0 repeat;
}
+h1 {
+ margin-top: 0;
+}
+
// Page wrapper and header bits follow
.container{