We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ec4f65 commit 6ef7cc0Copy full SHA for 6ef7cc0
src/theme/css/general.css
@@ -190,6 +190,16 @@ kbd {
190
vertical-align: middle;
191
}
192
193
+sup {
194
+ /* Set the line-height for superscript and footnote references so that there
195
+ isn't an awkward space appearing above lines that contain the footnote.
196
+
197
+ See https://github.com/rust-lang/mdBook/pull/2443#discussion_r1813773583
198
+ for an explanation.
199
+ */
200
+ line-height: 0;
201
+}
202
203
:not(.footnote-definition) + .footnote-definition,
204
.footnote-definition + :not(.footnote-definition) {
205
margin-block-start: 2em;
0 commit comments