aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-06-15 09:52:15 +0100
committerMatthew Somerville <matthew@mysociety.org>2016-06-15 09:58:50 +0100
commit96c72fa72e547a2ce5b435db3cae8c3c45efafc1 (patch)
tree9060bcbf123ef95ea32e25af89e0fd9b96efb206
parent2676b87d01f3fad8209db7022b2ea25e4b5ccd0b (diff)
[fixmystreet.com] Fix broken goodies CSS.
Stop sidebar overlapping footer, and giving footer heading a top border.
-rw-r--r--web/cobrands/fixmystreet.com/layout.scss4
-rw-r--r--web/cobrands/fixmystreet.com/posters.scss8
2 files changed, 8 insertions, 4 deletions
diff --git a/web/cobrands/fixmystreet.com/layout.scss b/web/cobrands/fixmystreet.com/layout.scss
index 848490e7a..f8026171d 100644
--- a/web/cobrands/fixmystreet.com/layout.scss
+++ b/web/cobrands/fixmystreet.com/layout.scss
@@ -307,6 +307,10 @@ body.unresponsive-council {
.mysoc-footer {
margin-top: 3em;
+ // The below lines are so that on e.g. /about/posters the footer will move on
+ // top of the fixed sidebar in narrow height situations.
+ position: relative;
+ z-index: 1;
}
body.mappage .mysoc-footer {
display: none;
diff --git a/web/cobrands/fixmystreet.com/posters.scss b/web/cobrands/fixmystreet.com/posters.scss
index ee8da9d32..8a1061c06 100644
--- a/web/cobrands/fixmystreet.com/posters.scss
+++ b/web/cobrands/fixmystreet.com/posters.scss
@@ -16,11 +16,11 @@ body.goodies {
color: mix($primary, #000, 40%);
}
}
- }
- h2 {
- padding-top: 1em;
- border-top: 1px solid mix($primary, #eee, 20%);
+ h2 {
+ padding-top: 1em;
+ border-top: 1px solid mix($primary, #eee, 20%);
+ }
}
.pack-preview {