0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 11:15:10 +08:00
discourse/plugins/footnote/assets/stylesheets
chapoi ea6ffc4852
UX: prevent nested footnotes (#41325)
Nested footnotes do not work, but still render as if they do.
This commit strips out any nested footnotes, and pretends they aren't
there.

| Then | Now |
|--------|--------|
| <img width="437" height="106" alt="CleanShot 2026-07-01 at 11 39 03"
src="https://github.com/user-attachments/assets/1bb915c4-d63d-438f-a51b-a5e246be3dcf"
/> | <img width="325" height="103" alt="CleanShot 2026-07-01 at 14 49
20"
src="https://github.com/user-attachments/assets/b74594ab-84dc-437c-bea5-089aa72178e0"
/> |

Also deleted old CSS to hide the `footnote-backref `, since these are no
longer rendered in the inline-footnote at all.

---------

Co-authored-by: David Taylor <david@taylorhq.com>
2026-07-02 19:55:10 +02:00
..
footnotes.scss UX: prevent nested footnotes (#41325) 2026-07-02 19:55:10 +02:00