aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-05-17 16:27:39 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-05-17 16:27:39 +0100
commit2abbfc004339f5df59ba5e7f1ee77d4be05b036d (patch)
tree1ae05506f24e346ea70d6a329d30341c4cebb42e
parent44e99254389a5af6c2adebe2bfb03fb0e2f32f58 (diff)
Improve map display in IE6/7.
-rw-r--r--web/cobrands/bromley/layout.scss5
-rw-r--r--web/cobrands/fixmystreet/_layout.scss9
-rw-r--r--web/cobrands/fixmystreet/fixmystreet.js2
3 files changed, 5 insertions, 11 deletions
diff --git a/web/cobrands/bromley/layout.scss b/web/cobrands/bromley/layout.scss
index d3c8fb065..5fa5fd116 100644
--- a/web/cobrands/bromley/layout.scss
+++ b/web/cobrands/bromley/layout.scss
@@ -38,7 +38,8 @@ body.twothirdswidthpage .content {
}
.ie6, .ie7 {
body.mappage .container {
- width: 432px;
+ width: 464px;
+ margin-left: 0;
}
}
@@ -102,7 +103,7 @@ body.frontpage {
// Perhaps fix map location (should be in central?)
.ie6 #map_box, .ie7 #map_box {
- right: -32em;
+ right: -480px;
}
.general-sidebar-notes,
diff --git a/web/cobrands/fixmystreet/_layout.scss b/web/cobrands/fixmystreet/_layout.scss
index 8f56a53fb..4a5502351 100644
--- a/web/cobrands/fixmystreet/_layout.scss
+++ b/web/cobrands/fixmystreet/_layout.scss
@@ -249,7 +249,7 @@ body.mappage {
.container {
float: left;
width: 27em;
- margin-left: 1.4em;
+ margin-left: 0.7em;
}
.nav-wrapper{
z-index:1;
@@ -262,13 +262,6 @@ body.mappage {
}
}
}
-.ie6 {
- body.mappage {
- .container {
- margin-left: 0.7em;
- }
- }
-}
//ie8 needs different stuff on .nav-wrapper so we
//have to define all the rest of it again as this resets
//the z-index base yet again :S
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js
index f43fba6e1..09dbc46a7 100644
--- a/web/cobrands/fixmystreet/fixmystreet.js
+++ b/web/cobrands/fixmystreet/fixmystreet.js
@@ -106,7 +106,7 @@ $(function(){
if (cobrand == 'bromley') {
var bromley_right;
if ($html.hasClass('ie6') || $html.hasClass('ie7')) {
- bromley_right = '-32em';
+ bromley_right = '-480px';
} else {
bromley_right = '0em';
}