aboutsummaryrefslogtreecommitdiff
path: root/haddock-api
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2016-06-16 11:08:59 +0200
committerBen Gamari <ben@smart-cactus.org>2016-06-16 11:16:32 +0200
commitf45e2c42ae38d651c2d03063724383c35af15788 (patch)
tree3494d2e5f8a09595a9c8ca44cf98f6d30c78b65a /haddock-api
parente40990d4dbb80db2b7bf5a939866f9eaf4d5b309 (diff)
ocean: Ensure that synopsis fully covers other content
Previously MathJax content was being rendered on top of the synopsis due to ambiguous z-ordering. Here we explicitly give the synopsis block a higher z-index to ensure it is rendered on top. Fixes #531.
Diffstat (limited to 'haddock-api')
-rw-r--r--haddock-api/resources/html/Ocean.std-theme/ocean.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/haddock-api/resources/html/Ocean.std-theme/ocean.css b/haddock-api/resources/html/Ocean.std-theme/ocean.css
index 3ebb14de..e8e4d705 100644
--- a/haddock-api/resources/html/Ocean.std-theme/ocean.css
+++ b/haddock-api/resources/html/Ocean.std-theme/ocean.css
@@ -333,6 +333,8 @@ div#style-menu-holder {
top: 10%;
padding: 0;
max-width: 75%;
+ /* Ensure that synopsis covers everything (including MathJAX markup) */
+ z-index: 1;
}
#synopsis .caption {