Skip to content

Fix #20679: avoid spurious newline in rocqdoc blocks. #20710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
7 changes: 3 additions & 4 deletions doc/sphinx/_static/notations.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,12 @@
margin-top: 0.5em !important;
}

.coqdoc, .coqtop dl {
.coqdoc > span, .coqtop dl {
margin: 12px; /* Copied from RTD theme */
}

.coqdoc {
.coqdoc > span {
display: block;
white-space: pre;
}

.coqtop dt, .coqtop dd {
Expand All @@ -156,7 +155,7 @@
}

/* FIXME: Specific to the RTD theme */
.coqdoc, .coqtop dt, .coqtop dd, pre { /* pre added because of production lists */
.coqdoc > span, .coqtop dt, .coqtop dd, pre { /* pre added because of production lists */
font-family: Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace !important; /* Copied from RTD theme */
font-size: 12px !important; /* Copied from RTD theme */
line-height: 1.5 !important; /* Copied from RTD theme */
Expand Down