[commit: haddock] master, wip/api-annots-ghc-7.10-3: Prevent Synopsis from using up too much horizontal space (71170fc)
git at git.haskell.org
git at git.haskell.org
Wed Jul 8 08:37:39 UTC 2015
Repository : ssh://git@git.haskell.org/haddock
On branches: master,wip/api-annots-ghc-7.10-3
Link : http://git.haskell.org/haddock.git/commitdiff/71170fc77962f10d7d001e3b8bc8b92bfeda99bc
>---------------------------------------------------------------
commit 71170fc77962f10d7d001e3b8bc8b92bfeda99bc
Author: Phil Ruffwind <rf at rufflewind.com>
Date: Mon Mar 16 04:31:13 2015 -0400
Prevent Synopsis from using up too much horizontal space
When long type signatures occur in the Synopsis, the element is
stretched beyond the width of the window. Scrollbars don't appear, so
it's impossible to read anything when this happens.
>---------------------------------------------------------------
71170fc77962f10d7d001e3b8bc8b92bfeda99bc
haddock-api/resources/html/Ocean.std-theme/ocean.css | 1 +
1 file changed, 1 insertion(+)
diff --git a/haddock-api/resources/html/Ocean.std-theme/ocean.css b/haddock-api/resources/html/Ocean.std-theme/ocean.css
index f762e83..ef652a2 100644
--- a/haddock-api/resources/html/Ocean.std-theme/ocean.css
+++ b/haddock-api/resources/html/Ocean.std-theme/ocean.css
@@ -318,6 +318,7 @@ div#style-menu-holder {
height: 80%;
top: 10%;
padding: 0;
+ max-width: 75%;
}
#synopsis .caption {
More information about the ghc-commits
mailing list