# Paragraphs containing inline footnotes use a smaller font on Chrome on Android

**URL:** https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032
**Category:** Bug
**Created:** [December 3, 2021, 5:47pm UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032 "2021-12-03T17:47:29Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [December 3, 2021, 5:47pm UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/1 "2021-12-03T17:47:30Z")

</div>

## This section does not have a footnote.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

## This section does have a footnote. The text should be the same size as the others, but is smaller (on mobile only)

Lorem ipsum\[1\] dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

## And this section does not, again

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

* * *

1. “On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being able to do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains.”

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [December 3, 2021, 5:49pm UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/2 "2021-12-03T17:49:16Z")

</div>

Oh, LOL. I guess no footnotes here on meta. But see the bug in action on Ask Fedora:

> **[Considering a merge of Ask Fedora into discussion.fedoraproject.org](https://discussion.fedoraproject.org/t/considering-a-merge-of-ask-fedora-into-discussion-fedoraproject-org/68177)**
>
> Background As you probably know, we’ve got two Discourse sites, this one and Fedora Discussion, over at, well, https://discussion.fedoraproject.org. Historically, this distinction exists for a simple reason: we had Ask Fedora as a Q&A site, using...

The paragraphs which contain footnotes in the topic post, and also for replies which do, _on Android in the app_, are in a smaller font. They are unchanged on Firefox on desktop.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [December 3, 2021, 6:11pm UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/3 "2021-12-03T18:11:21Z")

</div>

> [@mattdm](#):
>
> Oh, LOL. I guess no footnotes here on meta

I just added the plugin, so we have footnotes here now. I clicked ‘Rebuild HTML’ on your OP.

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [December 3, 2021, 6:24pm UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/4 "2021-12-03T18:24:39Z")

</div>

Thanks! And I can now say: yep, it’s not just my site. Try it out and see.

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [December 3, 2021, 6:27pm UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/5 "2021-12-03T18:27:40Z")

</div>

![Screenshot_20211203-132658](https://global.discourse-cdn.com/meta/original/3X/7/a/7a9b2e8d7f229f2d6f981d6923976aa1a2bc6d41.jpeg)

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [December 3, 2021, 6:38pm UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/6 "2021-12-03T18:38:26Z")

</div>

Well, for me (app/iPad(Safari) the footnote shows now at actual bottom of this page, below suggested topics.

Paragraphs have same font size, though.

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [December 3, 2021, 8:38pm UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/7 "2021-12-03T20:38:25Z")

</div>

Just checked — works fine on mobile Firefox, but not in the app-with-inbuilt-Chrome or in the Chrome browser.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [December 4, 2021, 8:29am UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/8 "2021-12-04T08:29:02Z")

</div>

I’m using Android/Chrome, and the text appears consistent to me? I tried it here, on my site, and on the fedora link; both in my regular browser, in the ‘install the app’, and on Discourse Hub.

Though the inline footnote in the OP does not seem to be expanding for me.

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [December 4, 2021, 8:43am UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/9 "2021-12-04T08:43:19Z")

</div>

> [@JammyDodger](#):
>
> Though the inline footnote in the OP does not seem to be expanding for me.

Is it expanding but appearing at the very bottom of the page? (Like, scroll all the way down.) Because that’s what is happening for me.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [December 4, 2021, 8:48am UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/10 "2021-12-04T08:48:59Z")

</div>

Oh yes, there it is. 🙂 I thought I’d looked there after @Jagster mentioned it, but I obviously didn’t scroll down far enough.

(just to note, it works properly on my site)

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [December 4, 2021, 9:00am UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/11 "2021-12-04T09:00:02Z")

</div>

FWIW, Android 12 on a Pixel 4a.

I thought it might be a theme problem, but it’s the same on all I’ve tried.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [December 4, 2021, 9:18am UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/12 "2021-12-04T09:18:54Z")

</div>

> [@mattdm](#):
>
> FWIW, Android 12 on a Pixel 4a.

Android 9/Honor 9 for me.

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [December 4, 2021, 4:44pm UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/13 "2021-12-04T16:44:10Z")

</div>

I changed it to not use inline footnotes on my sites, and that fixed the problem. I kind of prefer that anyway, even though inline is slick. (What I really want is _both_, but that’s another story.)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [December 5, 2021, 11:19pm UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/14 "2021-12-05T23:19:29Z")

</div>

On Firefox Windows + Sidebar it is rendering in a totally wrong place.

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/d/6dabca7b6d23e867e0e7f31f20bb52d079633655.png)

@vinothkannans can you investigate the issue reported and this Firefox issue, maybe our popper library needs updating?

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [December 7, 2021, 5:38pm UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/16 "2021-12-07T17:38:09Z")

</div>

@j.jaffeux has been working on some big changes to the plugin here:

> <https://github.com/discourse/discourse-footnote/commit/683fb3fad929c613e2ad101ad187506e0313d01c>
>
> \- updates markdown-it-footnote lib from 3.0.1 to 3.0.3
> \- fixes a handful of bug…s related to the arrow
> \- ensures footnote separator is not taking height in the post
> \- simplify code
> \- adds a test
> \- get rid of es6

Those changes are deployed to Meta now - are things looking any better @mattdm

---

<div class="post-metadata">

### Author: ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)
#### Post date: [December 7, 2021, 7:44pm UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/17 "2021-12-07T19:44:47Z")

</div>

Seems the same to me on this topic. Am I the only one seeing this?

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [December 7, 2021, 7:50pm UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/18 "2021-12-07T19:50:05Z")

</div>

The commit fixed a number of general issues, so I was hoping it might have resolved the text size problem you were seeing - I guess not 😢

I just tried an Android device (Galaxy S21, Android 11.0, latest chrome) on [browserstack.com](http://browserstack.com), and can’t reproduce the problem:

 ![Screenshot 2021-12-07 at 19.47.13](https://global.discourse-cdn.com/meta/original/3X/1/4/14f0af542f4e81f7061b5a1f3d7cea4e94b4773c.jpeg)

> [@mattdm](#):
>
> on Android in the app

Which app is this? The official “Discourse Hub” android app?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [December 7, 2021, 8:42pm UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/19 "2021-12-07T20:42:52Z")

</div>

I didnt look at this issue, I guess it’s probably trivial to fix, let me have a look.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [December 7, 2021, 8:55pm UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/20 "2021-12-07T20:55:00Z")

</div>

Few notes:

- I can repro on android 9 galaxy s10 (couldn’t repro on newer)
- It’s definitely related to the button, if I remove it, it has the correct size

Digging…

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [December 7, 2021, 9:45pm UTC](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032/25 "2021-12-07T21:45:27Z")

</div>

@david I think that should fix it and also improve other things:

[https://github.com/discourse/discourse-footnote/pull/26](https://github.com/discourse/discourse-footnote/pull/26)

[Next page](https://meta.discourse.org/t/paragraphs-containing-inline-footnotes-use-a-smaller-font-on-chrome-on-android/211032.md?page=2)
