Skip to content

Commit

Permalink
fix: footnote mathjax size
Browse files Browse the repository at this point in the history
  • Loading branch information
arzola committed Oct 21, 2024
1 parent 81d1c48 commit 19e49b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 8 additions & 2 deletions assets/styles/components/specials/_footnotes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,16 @@
text-transform: if-map-get($footnote-text-transform, $type);
counter-increment: footnote;
footnote-style-position: outside;
}

.footnotes {
font-size: if-map-get($footnote-font-size, $type);

.mathjax {
width: $footnote-mathjax-width;
padding-bottom: $footnote-mathjax-padding-bottom;
}
}


// Footnote & Endnote number markers (in body text)

.endnote::footnote-call,
Expand Down Expand Up @@ -79,6 +81,10 @@

.footnotes {
font-size: if-map-get($footnote-font-size, $type);

.mathjax {
padding-bottom: $footnote-mathjax-padding-bottom;
}
}
}

Expand Down
1 change: 0 additions & 1 deletion assets/styles/variables/_specials.scss
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ $footnote-blockquote-font-size: 0.95em !default;
/// @type String
$footnote-number-marker-font-size: $sup-sub-font-size !default;
$footnote-number-marker-line-height: $sup-sub-line-height !default;
$footnote-mathjax-width: 3em !default;
$footnote-mathjax-padding-bottom: 0.4em !default;

// Endnotes
Expand Down

0 comments on commit 19e49b8

Please sign in to comment.