aboutsummaryrefslogtreecommitdiff
path: root/html/haddock.css
diff options
context:
space:
mode:
authorsimonmar <unknown>2003-11-28 12:09:58 +0000
committersimonmar <unknown>2003-11-28 12:09:58 +0000
commit8096a8324d84e704071e453725fdebfae79b2358 (patch)
tree3953c0d8445302063cec17bbe9de826457be1ebc /html/haddock.css
parent090bbc4c8e0ab1d5b595f54723faba00c4b6d476 (diff)
[haddock @ 2003-11-28 12:09:58 by simonmar]
Fix some of the problems with Haddock generating pages that are too wide. Now we only specify 'nowrap' when it is necessary to avoid a code box getting squashed up by the text to the right of it.
Diffstat (limited to 'html/haddock.css')
-rw-r--r--html/haddock.css20
1 files changed, 19 insertions, 1 deletions
diff --git a/html/haddock.css b/html/haddock.css
index 67ef28d2..927d1ecd 100644
--- a/html/haddock.css
+++ b/html/haddock.css
@@ -51,10 +51,23 @@ TD.decl {
padding: 2px;
background-color: #f0f0f0;
font-family: monospace;
- white-space: nowrap;
vertical-align: top;
}
+/*
+ arg is just like decl, except that wrapping is not allowed. It is
+ used for function and constructor arguments which have a text box
+ to the right, where if wrapping is allowed the text box squashes up
+ the declaration by wrapping it.
+*/
+TD.arg {
+ padding: 2px;
+ background-color: #f0f0f0;
+ font-family: monospace;
+ vertical-align: top;
+ white-space: nowrap;
+ }
+
TD.recfield { padding-left: 20px }
TD.doc {
@@ -76,6 +89,11 @@ TD.body {
padding-left: 10px
}
+TD.pkg {
+ width: 100%;
+ padding-left: 10px
+}
+
TD.indexentry {
vertical-align: top;
padding-right: 10px