File tree 2 files changed +10
-15
lines changed
2 files changed +10
-15
lines changed Original file line number Diff line number Diff line change 4
4
merge_group :
5
5
6
6
env :
7
- MDBOOK_VERSION : 0.4.43
7
+ MDBOOK_VERSION : 0.4.48
8
8
9
9
jobs :
10
10
code-tests :
Original file line number Diff line number Diff line change @@ -260,23 +260,18 @@ main > .rule {
260
260
grid-column : rules;
261
261
}
262
262
263
- /* Unset footnote margin,
264
- see below for more information about margins */
265
- /* FIXME: this doesn't work. `unset` can still break the margin of the next element,
266
- and since mdbook applies the margin to `:not(.footnore-definition)`,
267
- it can literally be anything, so there is no way to properly fix it,
268
- without changing mdbook... */
269
- : not (.footnote-definition ) + .footnote-definition ,
270
- .footnote-definition + : not (.footnote-definition ) {
271
- margin-block-start : unset;
263
+ hr {
264
+ /* For some reason, grid is shrinking this to a point. */
265
+ width : 100% ;
272
266
}
273
267
274
- : not (.footnote-definition ) + .footnote-definition {
275
- margin-top : calc (2em - 16px );
268
+ /* Too much space with the grid.
269
+ */
270
+ .footnote-definition {
271
+ margin-top : 0 ;
276
272
}
277
-
278
- .footnote-definition : has (+ : not (.footnote-definition )) {
279
- margin-bottom : calc (2em - 16px );
273
+ .footnote-definition li : first-child > * : first-child {
274
+ margin-top : 0 ;
280
275
}
281
276
282
277
/* This is quite dumb, ugh.
You can’t perform that action at this time.
0 commit comments