diff --git a/assets/styles/components/specials/_footnotes.scss b/assets/styles/components/specials/_footnotes.scss index 4d1433c..0ece56d 100644 --- a/assets/styles/components/specials/_footnotes.scss +++ b/assets/styles/components/specials/_footnotes.scss @@ -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; } } diff --git a/assets/styles/variables/_specials.scss b/assets/styles/variables/_specials.scss index d0bdd61..5eeadbc 100644 --- a/assets/styles/variables/_specials.scss +++ b/assets/styles/variables/_specials.scss @@ -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