aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-02-04 11:09:17 +0000
committerMatthew Somerville <matthew@mysociety.org>2014-02-04 11:09:17 +0000
commit33a6b10a375deeebc99de5dc5efe6360e04975c8 (patch)
tree08b8d0d298e130181751a7536446ec0ba348f408
parent65fbe99b7dd51244d6d23aab6d5fe514377fea47 (diff)
Fix FAQ sidebar link clickability.
Restoring the z-index:1 removed in 7c9e4b1a only on pages like the FAQ, so as to maintain the fix of that commit where needed.
-rw-r--r--web/cobrands/sass/_layout.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss
index 92b76e474..781832609 100644
--- a/web/cobrands/sass/_layout.scss
+++ b/web/cobrands/sass/_layout.scss
@@ -299,6 +299,12 @@ body.fullwidthpage {
}
// two thirds width page, also has option for a sidebar which can be sticky or not
body.twothirdswidthpage {
+ .container {
+ // This used to be on all containers, but there was a bug in Chrome, so now
+ // it's just here so that the sidebar links are still clickable with their
+ // negative z-index.
+ z-index: 1;
+ }
.content {
width:40em;
position: relative;