aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Mytton <self@hecticjeff.net>2013-08-08 18:52:26 +0100
committerChris Mytton <self@hecticjeff.net>2013-08-08 18:53:03 +0100
commite48fd8ff8fa25c0a1fc0f9a626ae304d9a067012 (patch)
treef6973046dc84268b0139b162f05322178405ed99
parent8f959f64532d1a130f9e9c90ef792f6b642ecead (diff)
Make the oxfordshire map wrapper full width
-rw-r--r--web/cobrands/oxfordshire/layout.scss4
-rw-r--r--web/cobrands/oxfordshire/position_map.js6
2 files changed, 5 insertions, 5 deletions
diff --git a/web/cobrands/oxfordshire/layout.scss b/web/cobrands/oxfordshire/layout.scss
index 8e6b9f227..b9f9f7ac4 100644
--- a/web/cobrands/oxfordshire/layout.scss
+++ b/web/cobrands/oxfordshire/layout.scss
@@ -105,7 +105,7 @@ body.twothirdswidthpage {
.full-width { width: 464px; }
.shadow-wrap { width: 464px; }
-#map_box { width: 464px; }
+#map_box { width: 956px; }
.content { width: 432px; }
body.fullwidthpage .content { width: auto; }
@@ -135,7 +135,7 @@ body.twothirdswidthpage .content {
border: solid 1px #999;
top: 1em;
right: 0em;
- margin: 0;
+ margin: 0 1em;
}
// Perhaps fix map location (should be in central?)
diff --git a/web/cobrands/oxfordshire/position_map.js b/web/cobrands/oxfordshire/position_map.js
index a00d616da..586b6822c 100644
--- a/web/cobrands/oxfordshire/position_map.js
+++ b/web/cobrands/oxfordshire/position_map.js
@@ -13,14 +13,14 @@ function position_map_box() {
oxfordshire_right = '0em';
}
- var map_box_width = "464px";
+ var map_box_width = "956px";
var map_box_height = "464px";
// Do the same as CSS (in case resized from mobile).
- $('#map_box').prependTo('.content').css({
+ $('#map_box').prependTo('.wrapper').css({
zIndex: 1, position: 'absolute',
top: '1em', left: '', right: oxfordshire_right, bottom: '',
width: map_box_width, height: map_box_height,
- margin: 0
+ margin: "0 1em"
});
if($('#map_box').length) {
if (! $('#occ-map-instructions').length) {