From f45e2c42ae38d651c2d03063724383c35af15788 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Thu, 16 Jun 2016 11:08:59 +0200 Subject: 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. --- haddock-api/resources/html/Ocean.std-theme/ocean.css | 2 ++ 1 file changed, 2 insertions(+) (limited to 'haddock-api/resources/html') 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 { -- cgit v1.2.3