aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Backends/Xhtml/Layout.hs
diff options
context:
space:
mode:
authorRyanGlScott <ryan.gl.scott@gmail.com>2016-02-11 20:17:09 -0500
committerRyanGlScott <ryan.gl.scott@gmail.com>2016-02-11 20:17:09 -0500
commit1338b5d7c32939de6bbc31af0049477e4f847103 (patch)
treea591e15334d1f842349ad340daceaaf844841894 /haddock-api/src/Haddock/Backends/Xhtml/Layout.hs
parent2da130a8db8f995c119b544fad807533236cf088 (diff)
Ensure expanded family instances render correctly
Diffstat (limited to 'haddock-api/src/Haddock/Backends/Xhtml/Layout.hs')
-rw-r--r--haddock-api/src/Haddock/Backends/Xhtml/Layout.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/Backends/Xhtml/Layout.hs b/haddock-api/src/Haddock/Backends/Xhtml/Layout.hs
index 367eec4d..7fab3fea 100644
--- a/haddock-api/src/Haddock/Backends/Xhtml/Layout.hs
+++ b/haddock-api/src/Haddock/Backends/Xhtml/Layout.hs
@@ -231,7 +231,7 @@ subFamInstDetails :: String -- ^ Instance unique id (for anchor generation)
-> Html -- ^ Type or data family instance
-> Html
subFamInstDetails iid fi =
- subInstSection iid << declElem fi
+ subInstSection iid << thediv ! [theclass "src"] << fi
subInstSection :: String -- ^ Instance unique id (for anchor generation)
-> Html