From 5c4e7c515a2de1d53a878e00b43b16d502060739 Mon Sep 17 00:00:00 2001 From: Oscar Arzola Date: Mon, 21 Oct 2024 12:06:18 -0400 Subject: [PATCH] fix: footnote mathjax size --- assets/styles/components/specials/_footnotes.scss | 8 ++++++-- assets/styles/variables/_specials.scss | 1 - 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/assets/styles/components/specials/_footnotes.scss b/assets/styles/components/specials/_footnotes.scss index 4d1433c..53dcab0 100644 --- a/assets/styles/components/specials/_footnotes.scss +++ b/assets/styles/components/specials/_footnotes.scss @@ -39,14 +39,14 @@ text-transform: if-map-get($footnote-text-transform, $type); counter-increment: footnote; footnote-style-position: outside; + } + .footnotes { .mathjax { - width: $footnote-mathjax-width; padding-bottom: $footnote-mathjax-padding-bottom; } } - // Footnote & Endnote number markers (in body text) .endnote::footnote-call, @@ -79,6 +79,10 @@ .footnotes { font-size: if-map-get($footnote-font-size, $type); + + .mathjax { + padding-bottom: $footnote-mathjax-padding-bottom; + } } } diff --git a/assets/styles/variables/_specials.scss b/assets/styles/variables/_specials.scss index d0bdd61..be3b910 100644 --- a/assets/styles/variables/_specials.scss +++ b/assets/styles/variables/_specials.scss @@ -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