[commit: haddock] alexbiehl-patch-1, ghc-8.0, ghc-head, ghc-head1, headdock-library-1.4.5, ie_avails, master, pr-filter-maps, pr/cabal-desc, travis, v2.17, v2.18, wip/new-tree-one-param, wip/rae, wip/remove-frames, wip/remove-frames1, wip/revert-ttg-2017-11-20, wip/ttg-2017-10-13, wip/ttg-2017-10-31, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13: ocean: Ensure that synopsis fully covers other content (f45e2c4)

git at git.haskell.org git at git.haskell.org
Mon Nov 20 21:03:35 UTC 2017


Repository : ssh://git@git.haskell.org/haddock

On branches: alexbiehl-patch-1,ghc-8.0,ghc-head,ghc-head1,headdock-library-1.4.5,ie_avails,master,pr-filter-maps,pr/cabal-desc,travis,v2.17,v2.18,wip/new-tree-one-param,wip/rae,wip/remove-frames,wip/remove-frames1,wip/revert-ttg-2017-11-20,wip/ttg-2017-10-13,wip/ttg-2017-10-31,wip/ttg-2017-11-06,wip/ttg2-2017-11-10,wip/ttg3-2017-11-12,wip/ttg4-constraints-2017-11-13
Link       : http://git.haskell.org/haddock.git/commitdiff/f45e2c42ae38d651c2d03063724383c35af15788

>---------------------------------------------------------------

commit f45e2c42ae38d651c2d03063724383c35af15788
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Thu Jun 16 11:08:59 2016 +0200

    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.


>---------------------------------------------------------------

f45e2c42ae38d651c2d03063724383c35af15788
 haddock-api/resources/html/Ocean.std-theme/ocean.css | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/haddock-api/resources/html/Ocean.std-theme/ocean.css b/haddock-api/resources/html/Ocean.std-theme/ocean.css
index 3ebb14d..e8e4d70 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 {



More information about the ghc-commits mailing list