aboutsummaryrefslogtreecommitdiff
path: root/haddock-api
diff options
context:
space:
mode:
authorNunoAlexandre <alexandre.nunomiguel@gmail.com>2017-12-26 21:23:49 +0100
committerAlec Theriault <alec.theriault@gmail.com>2018-10-18 08:14:32 -0700
commit1c1c4001cf7d2167e545d88bd58f97a71778621b (patch)
treec2dfde75332c6610aaea82e64bcb048312e10d26 /haddock-api
parent3d52abbce02de506f6ca01a7b23bd5e2f7c9cc59 (diff)
Update html test reference files
Diffstat (limited to 'haddock-api')
-rw-r--r--haddock-api/resources/html/NewOcean.std-theme/new-ocean.css3
-rw-r--r--haddock-api/src/Haddock/Backends/Xhtml.hs2
2 files changed, 2 insertions, 3 deletions
diff --git a/haddock-api/resources/html/NewOcean.std-theme/new-ocean.css b/haddock-api/resources/html/NewOcean.std-theme/new-ocean.css
index 6c4357b0..f1523143 100644
--- a/haddock-api/resources/html/NewOcean.std-theme/new-ocean.css
+++ b/haddock-api/resources/html/NewOcean.std-theme/new-ocean.css
@@ -142,8 +142,7 @@ ul.links {
text-align: left;
float: right;
display: inline-table;
- margin: 0 0 0 1em;
- margin-right: 22vw;
+ margin: 0 22vw 0 1em;
}
ul.links li {
diff --git a/haddock-api/src/Haddock/Backends/Xhtml.hs b/haddock-api/src/Haddock/Backends/Xhtml.hs
index 41c11361..0264b7f7 100644
--- a/haddock-api/src/Haddock/Backends/Xhtml.hs
+++ b/haddock-api/src/Haddock/Backends/Xhtml.hs
@@ -124,8 +124,8 @@ headHtml docTitle themes mathjax_url =
meta ! [httpequiv "Content-Type", content "text/html; charset=UTF-8"],
thetitle << docTitle,
styleSheet themes,
- thelink ! [ rel "stylesheet", thetype "text/css", href fontUrl] << noHtml,
thelink ! [ rel "stylesheet", thetype "text/css", href quickJumpCssFile] << noHtml,
+ thelink ! [ rel "stylesheet", thetype "text/css", href fontUrl] << noHtml,
script ! [src haddockJsFile, emptyAttr "async", thetype "text/javascript"] << noHtml,
script ! [src mjUrl, thetype "text/javascript"] << noHtml
]