[Git][ghc/ghc][master] haddock: decrease margin on top of small headings
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Tue Aug 6 01:02:52 UTC 2024
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
af2ae742 by M. Taimoor Zaeem at 2024-08-03T18:52:50+05:00
haddock: decrease margin on top of small headings
- - - - -
2 changed files:
- utils/haddock/CHANGES.md
- utils/haddock/haddock-api/resources/html/Linuwial.std-theme/linuwial.css
Changes:
=====================================
utils/haddock/CHANGES.md
=====================================
@@ -3,6 +3,8 @@
* Add incremental mode to support rendering documentation one module at a time.
+ * Fix large margin on top of small headings
+
## Changes in 2.28.0
* `hi-haddock` is integrated, which means docstrings are no longer extracted
through typchecked module results. Instead, docstrings are taken from Haskell
=====================================
utils/haddock/haddock-api/resources/html/Linuwial.std-theme/linuwial.css
=====================================
@@ -295,10 +295,14 @@ pre, code, kbd, samp, tt, .src {
}
-* + h1, * + h2, * + h3, * + h4, * + h5, * + h6 {
+* + h1, * + h2, * + h3 {
margin-top: 2em;
}
+* + h4 , * + h5, * + h6 {
+ margin-top: 1em;
+}
+
h1 + h2, h2 + h3, h3 + h4, h4 + h5, h5 + h6 {
margin-top: inherit;
}
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/af2ae74272b55a89f9eabf8bdfd75fe8f2fd48f2
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/af2ae74272b55a89f9eabf8bdfd75fe8f2fd48f2
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240805/edd9233b/attachment-0001.html>
More information about the ghc-commits
mailing list