aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Ruffwind <rf@rufflewind.com>2015-03-16 04:31:13 -0400
committerPhil Ruffwind <rf@rufflewind.com>2015-03-16 04:32:01 -0400
commit71170fc77962f10d7d001e3b8bc8b92bfeda99bc (patch)
treed1c23c625e773c85f95197f6ceac8020f627207c
parent89fc5605c865d0e0ce5ed7e396102e678426533b (diff)
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.
-rw-r--r--haddock-api/resources/html/Ocean.std-theme/ocean.css1
1 files changed, 1 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 f762e832..ef652a21 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 {