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 6c6ae61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/styles/components/specials/_footnotes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
footnote-style-position: outside;

.mathjax {
width: $footnote-mathjax-width;
min-width: $footnote-mathjax-width;
max-width: $footnote-mathjax-max-width;
padding-bottom: $footnote-mathjax-padding-bottom;
}
}
Expand Down
1 change: 1 addition & 0 deletions assets/styles/variables/_specials.scss
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ $footnote-blockquote-font-size: 0.95em !default;
$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-max-width: 5em !default;
$footnote-mathjax-padding-bottom: 0.4em !default;

// Endnotes
Expand Down

0 comments on commit 6c6ae61

Please sign in to comment.