File tree Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Original file line number Diff line number Diff line change 44 merge_group :
55
66env :
7- MDBOOK_VERSION : 0.4.43
7+ MDBOOK_VERSION : 0.4.48
88
99jobs :
1010 code-tests :
Original file line number Diff line number Diff line change @@ -260,23 +260,18 @@ main > .rule {
260260 grid-column : rules;
261261}
262262
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% ;
272266}
273267
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 ;
276272}
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 ;
280275}
281276
282277/* This is quite dumb, ugh.
You can’t perform that action at this time.
0 commit comments