Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
select a result, and enter to follow the selected link. (@EmileTrotignon, #1088)
- OCaml 5.2.0 compatibility (@Octachron, #1094, #1112)
- New driver package (@jonludlam, #1121)
- Fix a big gap between the preamble and the content of a page (@EmileTrotignon, #1147)

### Changed

Expand Down
6 changes: 5 additions & 1 deletion src/html_support_files/odoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ body.odoc {
display: grid;
grid-template-columns: min-content 1fr;
column-gap: 4ex;
row-gap: 2ex;
}

body.odoc-src {
Expand All @@ -312,6 +311,10 @@ body.odoc-src {
grid-column: 2;
}

.odoc-content > *:first-child {
margin-top: 0;
}

.odoc-preamble > *:first-child {
/* This make the first thing in the preamble align with the sidebar */
padding-top: 0;
Expand All @@ -334,6 +337,7 @@ nav {
nav.odoc-nav {
grid-column: 2;
grid-row: 2;
margin-bottom: 2ex;
}

/* Basic markup elements */
Expand Down